This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: document() on a node-set param variable?
- From: "Bryan Rasmussen" <bry at itnisk dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Mon, 11 Feb 2002 10:10:11 +0100
- Subject: RE: [xsl] document() on a node-set param variable?
- Keywords: xsltDEV
- Reply-to: xsl-list at lists dot mulberrytech dot com
>Is it possible to use the xslt document() function to
>get the root node of a non-file - in this case a tree
>passed in a as param?
>select="document($paramDocumentName)/Properties/Value"
if you have a single command to the document function it's a uri, so no it's
not possible, what you should do is use a nodeset function, if your
processor has an extension for that, for example saxon has
saxon:nodeset($paramDocumentName)/Properties/Value, if you're using a
processor that supports xslt 1.1 you don't have to use an extension to get
nodeset.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list