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

RE: Conditinally including an XSL module

Subject: RE: Conditinally including an XSL module
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Tue, 25 Jul 2000 18:47:47 +0100
RE: Conditinally including an XSL module
> We've added an extension called set-mode which accepts an AVT 
> so that one can 
> piggy-back off global parameters to set a default mode.
> 
I was considering something remarkably similar for Saxon, I only didn't put
it in because it looked a little bit more complex to implement than I first
imagined (Saxon currently binds the mode name to a set of candidate patterns
at compile time). 

I'm slightly surprised you've put the extension element inside the
xsl:apply-templates rather than outside - my reading is that extension
elements are only supposed to go in a context where an instruction can
appear. (Saxon would reject your stylesheet, I think).

Do you make the default mode "sticky", i.e. does it apply only to the
immediate call of xsl:apply-templates, or to other nested calls?

Mike Kay


 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.