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

RE: Single transformation using XSLT on-the-fly

Subject: RE: Single transformation using XSLT on-the-fly
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sat, 18 Oct 2008 23:56:44 +0100
RE:  Single transformation using XSLT on-the-fly
> Using a *single* transformation, is there a way to create an 
> XSLT 2.0 on-the-fly and apply it to a document? I tried many 
> different ways, but I think that's impossible because, even 
> if I can save the XSLT in a document (xsl:result-document), I 
> can't include it at run-time.

It's possible using an extension such as
saxon:compile-stylesheet()/saxon:transform(). If you don't have such an
extension with your chosen processor, it's entirely possible that you could
write your own.

http://www.saxonica.com/documentation/extensions/functions/compile-styleshee
t.html
http://www.saxonica.com/documentation/extensions/functions/transform.html

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.