| 
 
Subject: Re: [xsl] Import stylesheets with xalan From: "J.Pietschmann" <j3322ptm@xxxxxxxx> Date: Fri, 21 Feb 2003 19:19:48 +0100  | 
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/
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| [xsl] Import stylesheets with xalan, Andrey Guskov | Thread | Re: [xsl] Import stylesheets with x, Joseph Kesselman | 
| [xsl] Wanted: Java XSLT program tha, Richard Heintze | Date | [xsl] OT: Schema Q, Sam Carleton | 
| Month |