RE: [xsl] document() on a node-set param variable?

Subject: RE: [xsl] document() on a node-set param variable?
From: "Bryan Rasmussen" <bry@xxxxxxxxxx>
Date: Mon, 11 Feb 2002 10:10:11 +0100

>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


Current Thread