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

RE: keys vs. parameters

Subject: RE: keys vs. parameters
From: "Hunsberger, Peter" <Peter.Hunsberger@xxxxxxxxxx>
Date: Mon, 10 Jun 2002 11:17:52 -0500
RE:  keys vs. parameters
> A typical strategy is that an XSLT processor will generate the key table
> on a particular document the first time you use the key() function with
> that as the context document. So it never builds indexes unless you
> actually use them.

Michael,

assuming that the key is in fact referenced do you have any opinion on the
original question: is there a significant performance difference between
passing the same data as parameters or referencing it via a key?  I'm
assuming the reference to the parameter data is pretty direct: Eg:

	<xsl:with-param name="gunk" select"data"/>

Then later:

	<xsl:value-of select="$gunk/anode"/>

In our case we have to pass the parameter data through a total of five
templates before it is finally consumed and the use of the key would be
mostly to simplify the coding of the stylesheet.

	

 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.