|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Multiple instances of the same nodeset - is this p
> My question is this - Is it somehow possible to have two independent
> nodesets with identical data that you can traverse simultaneously?
Not sure what you mean, but if you want you can always place a nodeset in a
variable using
<xsl:variable name="testa" select="NODE"/>
<xsl:variable name="testb" select="NODE"/>
the above variables contain the same nodeset, assumming if there was a NODE
element
<xsl:variable name="testa" select="document('a.xml')"/>
<xsl:variable name="testb" select="document('b.xml')"/>
the above illustrates 2 nodesets, using the document command as an example.
sometimes, you will have to be a little bit careful, because if you are
getting a result tree fragment and wanting to do further processing, you
have to convert it back to a nodeset using the XSLT processor native nodeset
command ( which is always a 3rd party cmd ).
good luck, doing whatever you are trying to do !
cheers, Jim Fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








