I am trying to implement a simple xslt transformation using ant build. The processor used for transformation is saxon9.jar.
Here is the build file made by this model:
<project name="TranformXml" default="TransformAll">
<target name="xslt2">
<!-- Transform one file into an HTML file -->
<xslt in="t1.xml" out="t2.xml" style="t1-t2.xsl" force="true">
<classpath location="C:\\Program Files (x86)\\Exchanger XML Editor 3.3\\lib\\saxon9.jar" />
</xslt>
</target>
<target name="TransformAll" depends="xslt2" />
</project>
The command I am using for starting the script is:
ant build.xml
Of course the working directory is set to where files reside.
This is the repeatedly printed on the command prompt:
C:\Users\rmrd001\Desktop\XSLTXpath\Examples\2015.10.22>set build=build.xml
C:\Users\rmrd001\Desktop\XSLTXpath\Examples\2015.10.22>ant build.xml
C:\Users\rmrd001\Desktop\XSLTXpath\Examples\2015.10.22>я╗┐ ^C'я╗┐' is not recognized as an internal or external command, operable program or batch file.
when I run the script.