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

RE: Conditional Include statements

Subject: RE: Conditional Include statements
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 2 Apr 2009 09:02:48 +0100
RE:  Conditional Include statements
> i can use doc(' ') to get stylesheet itself, then modify it, 
> and at last apply modified stylesheet to input document

That doesn't modify the stylesheet you're executing either. It creates a new
stylesheet and then calls it.

The point about "dynamic include" (which a lot of people ask for, without
realising what it would mean) is that it would allow a template rule to
modify itself.

In fact, the OP hasn't come back to us to explain the requirement, but what
people are usually looking for is some kind of dynamic despatch mechanism,
and of course there are existing ways of achieving this in XSLT that work
perfectly well.

Michael Kay
http://www.saxonica.com/

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.