Hi,

How does one process a given XML file with multiple
XSL files using <style> task? 

using a regex for the XSL files did not work and no
processing took place. 

Using multiple <style> task in the same target
processes all the tasks, but the transformation is
applied only for the first <style>. The following
tasks are evaluated and ignored. The processing has to
be done as part of a single <target>

A sample from my build file is given below -

    <property environment="env"/>
    <target name="buildxsl">
        <style
            basedir="${project.home}"
            extension=".java"
            processor="trax"
                        destdir="${env.TEMP}"
                        classpath="${env.XALAN_HOME}/bin/xalan.jar"
                
style="${project.home}/XSL/AccessStrategyInputTransform.xsl"
                        force="no"
                        includes="**/XML/*.xml">
                        <param name="baseDirectoryParameter"
expression="${SRC_HOME}"/>
        </style>
        <style
            basedir="${project.home}"
            extension=".java"
            processor="trax"
                        destdir="${env.TEMP}"
                        classpath="${env.XALAN_HOME}/bin/xalan.jar"
                        style="${project.home}/XSL/HelperTransform.xsl"
                        force="no"
                        includes="**/XML/*.xml">

                        <param name="baseDirectoryParameter"
expression="${SRC_HOME}"/>
        </style>
    </target>

The Ant manual, RTFM and STFW has not helped.

Thanks in advance for the answers.

Rgds
- r


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to