Re: [xsl] Searching for elements in XML

Subject: Re: [xsl] Searching for elements in XML
From: Niclas Hedhman <niclas@xxxxxxxxxxx>
Date: Sat, 03 Jul 2004 19:10:12 -0700
Nestor Boscan wrote:

<xsl:for-each select="//a|//b|//c">
</xsl:for-each>
or
<xsl:for-each select="//a">
</xsl:for-each>


'//' is generally speaking a "speed-trap", and you should probably not do 'for-each' at all, but use <xsl:template match="a"> and some better understanding of your XML structure.
Perhaps you care to describe your problem a bit more in detail.



Niclas



Current Thread