RE: [xsl] Parsing xml with saxon

Subject: RE: [xsl] Parsing xml with saxon
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 29 Sep 2005 12:04:01 +0100
There's a fair bit of information on running Saxon transformations from an
Ant task if you look around. For example

http://www.xml.com/pub/a/2002/12/11/ant-xml.html?page=2

It helps to get the terminology right: your task isn't "parsing XML", it is
"running an XSLT transformation".

Michael Kay
http://www.saxonica.com/ 

> -----Original Message-----
> From: Shailesh Shinde [mailto:shailesh@xxxxxxxxxxxx] 
> Sent: 29 September 2005 11:42
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] Parsing xml with saxon
> 
> Hi All,
> 
> I have to parse xml file with Saxon instead of msxsl.exe.
> How will I do that as my xml contains?
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <project name="MyTask" basedir="." default="build">
> 
> <property name="dir.in" value="E:\Test1"/>
> 
> <target name="build">
> 	<antcall target="create_master_xml"/>
> </target>
> 
> 
> <target name="create_master_xml">
> 	<exec dir="${dir.in}" executable="cmd" failonerror="true">
> 		<arg line="/c msxsl -o test1.xml Test_File_Loc.xml
> Test_combine.xsl"/>
> 	</exec>
> </target>
> 
> </project>
> 
> Do I need to change msxsl to???
> 
> Thanks,
> Shailesh

Current Thread