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

Are xsl:key's best going into the future?

Subject: Are xsl:key's best going into the future?
From: "Robert Koberg" <rob@xxxxxxxxxx>
Date: Fri, 15 Mar 2002 04:58:48 -0800
going to no future
Hi,

I have heard a developer from Xalan say that he is working on making an
operation like:

<xsl:apply-templates select="//*[@id=$id]"/>

as fast as:

<xsl:apply-templates select="key('the-key', $id)">

[ I also asked if you would gain the same performance if you did something
like:
<xsl:apply-templates select="document($doc)//*[@id=$id]"> but no answer... I
assume it is different?? ]

In fact, if you want to get the incredible performance gains from XSLTC,
they:
[ Xalan's XSLTC team -
http://xml.apache.org/xalan-j/xsltc/xsltc_performance.html ]
warn that you should not use keys.

Should keys be avoided?

best,
-Rob




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

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.