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

RE: XSL - Transforming 2 XSL stylesheets from 1 XML fi

Subject: RE: XSL - Transforming 2 XSL stylesheets from 1 XML file
From: "Andrew Welch" <ajwelch@xxxxxxxxxxxxxxx>
Date: Thu, 5 May 2005 14:38:45 +0100
RE:  XSL - Transforming 2 XSL stylesheets from 1 XML fi
> So I am suggesting, if your XSLT processor supports this (I
> can't give you a comprehensive list of which transformers
> support this - I know gestalt does :-), and Saxon 8 does from
> it's Java API, but not from the command-line, if I remember
> correctly), that you do a server-side transformation, passing
> the target media value to the transformer via it's API.

...but what's the point?  You may as well just specify the stylesheet,
rather than specify the media type and then ensure that the
xml-stylesheet pi in the XML points to that stylesheet.

As it's single source, multiple targets it really doesn't make sense or
scale well to hard code stylesheet references in the XML, the media type
and the xml-stylesheet pi should be buried really.

cheers
andrew

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.