Hello,
I use for my example a typical bibliography document, ie
<biblio..>
<reference><authors><p first=".." last=".."/></authors>
<title> (...)
</reference>
size ~(5Mo)
Here are parts of stylesheets that I use:
withIndex :
key declaration
<xsl:key name="clef2" match="//reference" use="authors/p/@last">
<xsl:for-each select='key("clef2","zorro")'>
<li><xsl:value-of select="title"/></li>
</xsl:for-each>
noIndex
<xsl:for-each select="//reference/authors/p[(_at_)last='zorro']">
<li><xsl:value-of select=".../../title"/></li>
</xsl:for-each>
Some of my results (execution Time)
withIndex noIndex
Xalan2.5 8780ms 9108ms
Saxon6.5.2 tree 2800ms 2900ms
" tinytree 3021ms 1757ms !!!!
Could you explain me differences between tree and tinytree implementation.
phil. Dubreuil
Inria Rhone Alpes
France
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list