This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: XSLT V 1.1
Correcting cut-n-paste typo.
------------------------------
New document() semantcis. V 2.0.
------------------------------
Function: node-set document( string, string ? )
The document function allows access to XML sources other than
the main source document.
First parameter is the URI of the document to be retrived.
If first parameter is relative URI, second parameter is used to
specify the base URI. If second parameter is not specified, but
first parameter is relative - first URI is resolved relatively
to XML document which is processed.
Empty string "" works like a reference to stylesheet
document itself.
Thus document("") refers to the root node of the stylesheet,
and document("../some/other.xml", "") resolves the
first URI to relatively to the stylesheet document.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list