<?xml version="1.0" encoding="GBK"?>
<project name="Wangyi" basedir="." default="transform">
<property name= "lib.dir" value= "F:\java\Wangyi\lib" />
<path id= "test.classpath" >
<!-- adding the saxon jar to your classpath -->
<fileset dir= "${lib.dir}" includes= "*.jar" />
</path>
<target name= "transform" >
<xslt in= "F:/java/Wangyi/test-output/testng-results.xml" style= "F:/java/Wangyi/test-output/testng-results.xsl"
out= "F:/java/Wangyi/test-output/index1.html " >
<!-- you need to specify the directory here again -->
<param name= "testNgXslt.outputDir" expression= "F:/java/Wangyi/test-output/" />
<classpath refid= "test.classpath" />
</xslt>
</target>
<project name="Wangyi" basedir="." default="transform">
<property name= "lib.dir" value= "F:\java\Wangyi\lib" />
<path id= "test.classpath" >
<!-- adding the saxon jar to your classpath -->
<fileset dir= "${lib.dir}" includes= "*.jar" />
</path>
<target name= "transform" >
<xslt in= "F:/java/Wangyi/test-output/testng-results.xml" style= "F:/java/Wangyi/test-output/testng-results.xsl"
out= "F:/java/Wangyi/test-output/index1.html " >
<!-- you need to specify the directory here again -->
<param name= "testNgXslt.outputDir" expression= "F:/java/Wangyi/test-output/" />
<classpath refid= "test.classpath" />
</xslt>
</target>
</project>