[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

re xsl:Key

Subject: re xsl:Key
From: Philippe Dubreuil <philippe.dubreuil@xxxxxxxxxxxx>
Date: Fri, 21 Mar 2003 11:18:21 +0100
xsl select key
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
  • re xsl:Key
    • Philippe Dubreuil - Fri, 21 Mar 2003 05:15:19 -0500 (EST) <=

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.