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

Re: Tunnelled params and variables

Subject: Re: Tunnelled params and variables
From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Jul 2007 11:14:14 -0400
Re:  Tunnelled params and variables
At 2007-07-28 00:24 +0900, Justin Johansson wrote:
What are the use cases for having tunnel="yes" on xsl:params and variables?

I choose to use tunnel="yes" on xsl:param and xsl:with-param when between the current node being matched and a deeply-nested match that needs information from the current node (1) I am unsure which template rules are going to fire, or (2) I have a ton of template rules that will fire, or (3) the built-in template rules are going to fire.


Compared to XSLT 1 where I had to track down all of the template rules and supplant all of the built-in template rules, this is a real convenience for me not to have to identify which template rules need to have the param added (with the associated with-param on every embedded apply-templates), nor have to rewrite the built-in template rules.

It has been a time-saver.

I hope this helps.

. . . . . . . . . . . . . . . .Ken

--
Upcoming public training: XSLT/XSL-FO Sep 10, UBL/code lists Oct 1
World-wide corporate, govt. & user group XML, XSL and UBL training
RSS feeds:     publicly-available developer resources and training
G. Ken Holman                 mailto:gkholman@xxxxxxxxxxxxxxxxxxxx
Crane Softwrights Ltd.          http://www.CraneSoftwrights.com/s/
Box 266, Kars, Ontario CANADA K0A-2E0    +1(613)489-0999 (F:-0995)
Male Cancer Awareness Jul'07  http://www.CraneSoftwrights.com/s/bc
Legal business disclaimers:  http://www.CraneSoftwrights.com/legal

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

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-2007 All Rights Reserved.