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

Re: Import stylesheets with xalan

Subject: Re: Import stylesheets with xalan
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Fri, 21 Feb 2003 19:19:48 +0100
cocoon xsl import
Andrey Guskov wrote:
We are developing application on Java that includes
XSL Transformation (jdk1.4 , xalan)
The task is: get file ss_1.xsl, parse and store result in
the memory. Then get ss_2.xsl and import ss_1.xsl (stored
result) into it using program facilities.
After that the result should be usable as single stylesheet.

It's already worked with xalan-1.*, but I can handle that
with xalan-2.*.

Look up javax.xml.transform.TransformerFactory.setURIResolver and javax.xml.transform.URIResolver. Implement your own URIResolver which reads preparsed stuff from memory for matching URLs. Use <xsl:import> or <xsl:include> to import ss_1.xsl from ss_2.xsl.

Or just have a look at Cocoon
 http://xml.apache.org/cocoon/

J.Pietschmann



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.