ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve A Drake <...@ucar.edu>
Subject xml to html transformation
Date Thu, 25 Apr 2002 23:36:14 GMT
 Hello. I am using Ant and XSLT to transform XML files to HTML documents.
The problem is that I think I'm using too many Ant directives to convert
each file. This makes for a large build.xml file. I'd appreciate pointers
on how to define the transformations with a more compact syntax. As an
example, for each file transformation I have something like:

   <java classname="org.apache.xalan.xslt.Process" fork="yes">
    <classpath>
     <pathelement location="${lib.dir}/xalan.jar"/>
     <pathelement location="${lib.dir}/xerces.jar"/>
    </classpath>
    <arg line="-in  test.xml
               -xsl test.xsl
               -out test.html"/>
   </java>

Thanks in advance for any insights. BTW, nice user's manual.


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message