Part of the problem has to lie in the function name - document().
I think of 'document()' as:
doDocument() - on other words as an equivalent to (say) JavaDoc (say
what this (stylesheet/XML file/XSD file) does
not as getDocument() - which is the intended use.
Remember - (new/many) users think of function names as verbs or actions.
Document here is intended as a noun.
The function is discussed on several appropriate pages - but users do need
to know that they want to handle documents before following the relevant
links.
Date: Fri, 28 Sep 2001 20:21:32 +0100
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Subject: RE: : How to handle two XML sources in one style sheet
> This has been causing me problems. How to I create the
> left side of the page with one string of XML data
> and the right side of the page with another string
> of XML data from the same style sheet?
>
By using the XSLT document() function.
It's amazing how often this question is asked.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|