[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Processing the XSL piping one XML to other XSL sheets


Subject: [xsl] Processing the XSL piping one XML to other XSL sheets
From: "Dhruvraj Singh" <sdhruv@xxxxxxxxxxxxx>
Date: Wed, 19 Jun 2002 19:57:08 +0530

Hi,

I am trying to use the pipeDocument class of XALAN, for
one base XSL Sheet which calls other stylesheets using 
appropriate parameters for it.

What should be the java source code to invoke XALAN
with this base XSL Sheet. 

base XSL Sheet is something like : 
--
 <xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:pipe="xalan://PipeDocument"
                extension-element-prefixes="pipe">
...
<pipe:pipeDocument   source="source.xml" target="target.xml">
   <stylesheet href="ss1.xsl">
     <param name="param1" value="value1"/>
   </stylesheet>
   <stylesheet href="ss2.xsl">
     <param name="param1" value="value1"/>
     <param name="param2" value="value2"/>
   </stylesheet>
   <stylesheet href="ss1.xsl"/>     
</pipe:pipeDocument>

How to invoke XALAN to process the above?

Thanks and Regards,
Dhruvraj Singh


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xsl