RE: [xsl] CLI processor as filter?

Subject: RE: [xsl] CLI processor as filter?
From: Fabien Triolet <fabien.triolet@xxxxxxxxxxxx>
Date: Wed, 19 Mar 2003 08:22:14 +0100
I have talked about Transmorpher (http://transmorpher.inrialpes.fr) recently on this list.
This tool supports the use of standard input . The comand is the following :


# java -jar ../lib/transmo.jar test/process < test/input/data.xml

and the process file is :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE transmorpher SYSTEM "http://transmorpher.inrialpes.fr/dtd/transmorpher.dtd";>


<transmorpher name="test" version="1.0" reloc="test/result" xmlns="http://transmorpher.fluxmedia.fr/1.0";>

<main name="Test">
<generate id="read" type="readfile" out="o" file="_stdin_">
</generate>


        <apply-external id="transform1" type="xslt" in="o" out="a">
           <with-param name="file">test/xslt/trans1.xsl</with-param>
       </apply-external>

       <apply-external id="transform2" type="xslt" in="a" out="b">
           <with-param name="file">test/xslt/trans2.xsl</with-param>
       </apply-external>

<serialize id="write" type="writefile" in="b">
<with-param name="file">test/output/data.html</with-param>
<with-param name="indent">yes</with-param>
<with-param name="method">html</with-param>
</serialize>


   </main>
</transmorpher>

Transmorpher is provided with xalan and xerces but can be used with saxon.

Fabien TRIOLET
----------------------
INRIA Rhône-Alpes


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



Current Thread