[Home] [By Thread] [By Date] [Recent Entries]
Peter Hickman wrote:
<xsl:template match="result"> If using the preceding axis is getting slow on large XML documents, you could switch to keys. (top-level) <xsl:key name="results" match="result" use="'all'" /> (result template)
<xsl:when test="generate-id(.) = generate-id(key('results', 'all')[1])">
... first ...
</xsl:when>Cheers, Geert
|

Cart



