|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: xsl:for-each efficiency
Hi,
> Would there be a better way of doing:
>
> <xsl:for-each select="//element[@element-key = $id]">
> </xsl:for-each>
<xsl:key name="foo" match="element" use="@element-key"/>
as a top-level element and
<xsl:for-each select="key('foo', $id)">
</xsl:for-each>
in the template
Cheers,
Jarno
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
|

Cart








