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

Re: nested templates?

Subject: Re: nested templates?
From: Mark Nahabedian <naha@xxxxxxxxxx>
Date: Wed, 16 May 2001 16:49:53 -0400 (Eastern Daylight Time)
Re:  nested templates?
I don't think you've clearly stated this but I'm guessing that the
semantics you want is to be able to have non-top-level templates which 
are nested in other templates and are only active while the containing 
template is active, sort of like the local finctions provided in many
programming languages.

XSLT is not an algorithmic language, it's a rule-based declarative
one.  If you want to specify a rule that processes "zorch" elements,
but only when they are contained within some surrounding "glrbl"
element, you can specify that behavior in the xpath pattern that's the
value of the "select" attribute of the template.  The functionality
you're looking for is available in the language, but with a different
syntax.



 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.