This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]