|
Subject: [xsl] re xsl:Key From: Philippe Dubreuil <philippe.dubreuil@xxxxxxxxxxxx> Date: Fri, 21 Mar 2003 11:18:21 +0100 |
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[@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
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| RE: [xsl] A list of useful function, bryan | Thread | RE: [xsl] re xsl:Key, Michael Kay |
| Re: [xsl] perl and xslt, Daniel Veillard | Date | RE: [xsl] perl and xslt, Peter Gibbons-BU |
| Month |