RE: [xsl] Parsing xml with saxon

Subject: RE: [xsl] Parsing xml with saxon
From: "Shailesh Shinde" <shailesh@xxxxxxxxxxxx>
Date: Thu, 29 Sep 2005 16:33:31 +0530

Yes I am trying to transform. It's working it's gives the output xml file,
but i want to use saxon parser not the ms one.


-----Original Message-----
From: Robert Koberg [mailto:rob@xxxxxxxxxx] 
Sent: Thursday, September 29, 2005 4:29 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Parsing xml with saxon


Are you just trying to run an Ant build file? Are you trying to 
transform the Ant build file below with Saxon?

Perhaps you should try to get the build file to work first (use the 
result you expect from the transform).

<off-topic see="";>

Note: there are easier ways to some of things you are trying to do. For 
example, you don't need the antcall -- you could just use a depends attr:
<target name="build" depends="create_master_xml"/>

You could also simply use thye Xslt task and not exec.



Shailesh Shinde wrote:
> 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="" value="E:\Test1"/>
> <target name="build">
> 	<antcall target="create_master_xml"/>
> </target>
> <target name="create_master_xml">
> 	<exec dir="${}" 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