Re: [xsl] Parsing xml with saxon

Subject: Re: [xsl] Parsing xml with saxon
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Thu, 29 Sep 2005 06:58:56 -0400
Hi,

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="http://ant.apache.org/manual/";>

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.

</off-topic>

best,
-Rob

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="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