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

RE: build a "dynamical" parameter

Subject: RE: build a "dynamical" parameter
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Fri, 3 Nov 2000 14:39:55 -0400 (EST)
RE: build a "dynamical" parameter
> 
> what u mean with "generating the stylesheet dynamically"
> u got an example ? (i think thats what i am trying to do <g>)

A stylesheet is an XML document so you can construct it as the result of an
XSLT transformation. Alternatively, you can use tools such as DOM and SAX to
manipulate it. For example, if what you want to do is to change a single
expression defined in a global <xsl:variable>, you can feed the stylesheet
to the XSLT processor via a SAX filter that changes the expression before
the XSLT processor sees it.
> 
> and if i do it with saxon:evaluate() then it wont work on all 
> plattforms right ?

Correct. (And the API for invoking a processor via a SAX filter will vary
for each processor as well).
 
> btw... is there a way to convert a string to a nodelist ?

Another Saxon extension function: saxon:tokenize().

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.