[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Accessing Variable within a Variable
> I want is, can I copy 2 variables into one.. and > traverse the merged one, and during traversing, > somewhere can I check for some value that appears in > one variable. You can only do thatby converting the result tree fragment containing the merged set back into a node set using your processor's node-set extension function, if it has such an extension. But it depends whatyou mean by a merge, You only needed to use a result tree fragment as you were constructing a wrapper element around the two sets, if you don't need that you can go <xsl:variable name="v3" select="$v1|$v2"/> and then v3 is the union of v1 and v2. David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ 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
|