[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Parsing xml with saxon

Subject: Re: Parsing xml with saxon
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Thu, 29 Sep 2005 06:58:56 -0400
ant parse xml
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.