<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: How to use Saxon with Ant</title>
	<atom:link href="http://vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/feed/" rel="self" type="application/rss+xml" />
	<link>http://vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/</link>
	<description>Random thoughts, humor, and helpful tips</description>
	<pubDate>Wed, 19 Nov 2008 23:19:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Michael Holodnak</title>
		<link>http://vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/#comment-7666</link>
		<dc:creator>Michael Holodnak</dc:creator>
		<pubDate>Tue, 12 Aug 2008 18:13:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/#comment-7666</guid>
		<description>Actually, I got this to work: 
&lt;code&gt;
&#60;!-- Converts Taxonomy XML exports into HTML files. --&#62;
&#60;target name=&#34;xslt&#34; depends=&#34;xsltDepends&#34;&#62;
&#160;&#160;&#160;&#160;&#60;property name=&#34;javax.xml.transform.TransformerFactory&#34;
&#160;&#160;&#160;&#160;&#160;&#160;value=&#34;${xsl.factory}&#34;/&#62;
&#160;&#160;&#160;&#160;&#60;xslt style=&#34;${build.xsl}/${xsl.html}&#34;
&#160;&#160;&#160;&#160;&#160;&#160;destdir=&#34;${build.html}&#34; classpathref=&#34;saxon.path&#34;
&#160;&#160;&#160;&#160;&#160;&#160;basedir=&#34;${build.xml}&#34; includes=&#34;*.xml&#34;/&#62;
&#60;/target&#62; 
&lt;/code&gt;

where "xsl.factory" is the class name for the Saxon implementation.  I found this article helpful though.  I'm using Ant v1.7.0 through Eclipse v3.3.2, Saxon v9.0.0.1

I was able to set the “javax.xml.transform.TransformerFactory” with a “property” set inside the target where I called the “xslt” task and point it to Saxon.
</description>
		<content:encoded><![CDATA[<p>Actually, I got this to work:<br />
<code><br />
&lt;!-- Converts Taxonomy XML exports into HTML files. --&gt;<br />
&lt;target name=&quot;xslt&quot; depends=&quot;xsltDepends&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;property name=&quot;javax.xml.transform.TransformerFactory&quot;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;value=&quot;${xsl.factory}&quot;/&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;xslt style=&quot;${build.xsl}/${xsl.html}&quot;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;destdir=&quot;${build.html}&quot; classpathref=&quot;saxon.path&quot;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;basedir=&quot;${build.xml}&quot; includes=&quot;*.xml&quot;/&gt;<br />
&lt;/target&gt;<br />
</code></p>
<p>where &#8220;xsl.factory&#8221; is the class name for the Saxon implementation.  I found this article helpful though.  I&#8217;m using Ant v1.7.0 through Eclipse v3.3.2, Saxon v9.0.0.1</p>
<p>I was able to set the “javax.xml.transform.TransformerFactory” with a “property” set inside the target where I called the “xslt” task and point it to Saxon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tobias Vogt</title>
		<link>http://vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/#comment-7096</link>
		<dc:creator>Tobias Vogt</dc:creator>
		<pubDate>Thu, 15 May 2008 12:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/#comment-7096</guid>
		<description>Got stuck on the same issue today and your workaround works fine - Thanks!</description>
		<content:encoded><![CDATA[<p>Got stuck on the same issue today and your workaround works fine - Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Pawson</title>
		<link>http://vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/#comment-6628</link>
		<dc:creator>Dave Pawson</dc:creator>
		<pubDate>Sun, 13 Apr 2008 08:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/#comment-6628</guid>
		<description>Trying this with Saxon 6.5.5
Changed the class to 
private final static String SAXON_FACTORY =
	"com.icl.saxon.TransformerFactoryImpl";
compiled OK (needs ant.jar and ant-trax.jar in cp)

I want to specify a different parser, normally done via attributes
and values as children of 
Seems not to work?

 
	
     

I wish the ant team could address this :-)</description>
		<content:encoded><![CDATA[<p>Trying this with Saxon 6.5.5<br />
Changed the class to<br />
private final static String SAXON_FACTORY =<br />
	&#8220;com.icl.saxon.TransformerFactoryImpl&#8221;;<br />
compiled OK (needs ant.jar and ant-trax.jar in cp)</p>
<p>I want to specify a different parser, normally done via attributes<br />
and values as children of<br />
Seems not to work?</p>
<p>I wish the ant team could address this <img src='http://vocaro.com/trevor/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/#comment-6210</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Mon, 11 Feb 2008 08:46:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/#comment-6210</guid>
		<description>Note that in my case I had to put the SaxonLiaison.class in a jar file (jar cf SaxonLiaison.jar SaxonLiaison.class) and put this jar file in my ant/lib directory then it worked.</description>
		<content:encoded><![CDATA[<p>Note that in my case I had to put the SaxonLiaison.class in a jar file (jar cf SaxonLiaison.jar SaxonLiaison.class) and put this jar file in my ant/lib directory then it worked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kilian</title>
		<link>http://vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/#comment-5064</link>
		<dc:creator>Kilian</dc:creator>
		<pubDate>Sun, 01 Jul 2007 12:56:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.vocaro.com/trevor/blog/2007/01/08/how-to-use-saxon-with-ant/#comment-5064</guid>
		<description>Your solution has saved my day. Thanks a lot!</description>
		<content:encoded><![CDATA[<p>Your solution has saved my day. Thanks a lot!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
