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
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 select="//a">
<xsl:for-each select="//b">
<xsl:for-each select="//c">
or is there a better way?
Thanks in advance
Néstor Boscán

Current Thread