xsl-list
[Top] [All Lists]

RE: Integrating Multiple Stylesheets and XSL transformations

2003-03-19 00:22:22
Hi ,

I'm working on a tool called Transmorpher (http://transmorpher.inrialpes.fr)
which can be used fot applying several xsl transformations on XML files.

It uses an XML description of the transformations to apply :
Process sample :

<?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">
          <with-param name="file">test/input/data.xml</with-param>
       </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 provides other component like mergers, dispatchers or iterators.

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


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