xsl-list
[Top] [All Lists]

RE: Parsing xml with saxon

2005-09-29 04:03:31
Hi,

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.

Thanks,
Shailesh 

-----Original Message-----
From: Robert Koberg [mailto:rob(_at_)koberg(_dot_)com] 
Sent: Thursday, September 29, 2005 4:29 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Parsing xml with saxon

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




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>