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

parameters in XSLT 2.0

Subject: parameters in XSLT 2.0
From: Bruce D'Arcus <bdarcus@xxxxxxxxx>
Date: Tue, 7 Jun 2005 09:01:00 -0400
parameters in xslt
I've got a few questions about using parameters in XSLT 2.0:

First, am I right that if I use an "as" attribute of element() or node() I am passing a reference to the original element or node, and thus that this is an efficient operation?

Related, am I correct that these below are equivalent from a processing standpoint?

<xsl:variable name="foo" select="bar" as="element()"/>

<xsl:variable name="foo" as="element()">
  <xsl:sequence select="bar"/>
</xsl:variable>

Finally, in general, under what conditions should one use tunnel parameters? I do a lot of parameter passing in my stylesheets, though the content of those parameters is typically fixed.

Bruce

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.