[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

Subject: RE: Multiple instances of the same nodeset - is this possible.
From: "James Fuller" <james.fuller@xxxxxxxxxx>
Date: Mon, 5 Aug 2002 08:32:17 +0100
james s instance
> 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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.