SGMLXML.net A place for SGML and XML application developers.

July 23, 2014

Using Apache ANT to run XSLT

Filed under: ANT,Eclipse,XML,XSL,XSLT — cangione @ 5:38 pm

I have been using Apache ANT within Eclipse to run XSLT. The advantage to using ANT is you can easily setup a processing pipeline utilizing various XSLT filters.

Example Ant Target:

<target name="Run-XSLT-Filter" >	
	   <xslt style="myfile.xsl" in="example.xml"  out="example-reloaded.xml"> 
	   <classpath>
                <!--add your favorite XSLT Processor here-->
	   	<pathelement location="classes/saxon.jar"></pathelement>
	   </classpath>
	   </xslt>
</target>

August 10, 2005

Optional Ant Tasks

Filed under: ANT — cangione @ 1:12 am







Not all tasks are built into the core distribution of ANT. There are additional tasks that ANT can perform if the option is available.

For a list of optional tasks refer to:


March 11, 2005

Maven Project

Filed under: ANT — cangione @ 2:04 pm




Maven is a Java project management and project comprehension tool. Maven is based on the concept of a project object model (POM) in that all the artifacts produced by Maven are a result of consulting a well defined model for your project. Builds, documentation, source metrics, source cross-references and a countless number of reports are all controlled by your POM.

 http://maven.apache.org/

 

Powered by WordPress