[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Searching for elements in XML

Subject: Searching for elements in XML
From: "Nestor Boscan" <nestor.boscan@xxxxxxxxxx>
Date: Sat, 3 Jul 2004 20:31:19 -0400
searching for elements xml
Hi
 
In terms of performance which is better if I'm searching for a number of
elements in the XML file and I don't care about the order:
 
Let's say I'm searching for elements a, b and c:
 
<xsl:for-each select="//a|//b|//c">
</xsl:for-each>
 
or
 
<xsl:for-each select="//a">
</xsl:for-each>
 
<xsl:for-each select="//b">
</xsl:for-each>
  
<xsl:for-each select="//c">
</xsl:for-each>
 
or is there a better way?
 
Thanks in advance
 
Regards,
 
Néstor Boscán



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.