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

RE: saxon9-ant.jar and <xmlcatalog/>

Subject: RE: saxon9-ant.jar and <xmlcatalog/>
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Sun, 25 Jan 2009 21:52:42 -0000
RE:  saxon9-ant.jar and <xmlcatalog/>
> how can I submit an xmlcatalog to saxon9-ant.jar (see 
> http://www.saxonica.com/documentation/using-xsl/xsltfromant.html)?
>

This question is very product-specific. Product-specific questions are best
raised in a product-specific forum. For Saxon this is the saxon-help mailing
list or forum reachable via the Saxon project on SourceForge.

(If the answer was simple I would give it here anyway, but it isn't - it
will require some investigation, so I would prefer to track the issue in the
proper place.)

Michael Kay
http://www.saxonica.com/

 
> I've tried
> 
> <xslt2 in="${src_file}" out="${build}/trash.xml"
> style="${lib}/tools/test.xsl" force="true">
>     <param name="files_prefix" expression="${files_prefix}"/>
>     <xmlcatalog refid="catalog"/>
> </xslt2>
> 		
> with
> 
> <xmlcatalog id="catalog">
>     <entity publicid="http://www.editura.de/docs/test2.xsl"
> location="lib/docs/test2.xsl"/>
> </xmlcatalog>
> 
> and
> 
> <taskdef name="xslt2" classname="net.sf.saxon.ant.AntTransform"
> classpath="${Saxon9.classpath};${Saxon9-Ant.classpath}"/>
> 
> With the <xslt/>-ant-task it works fine, but the above fails with
> XTSE0165: java.io.FileNotFoundException.
> 
> BTW, the pure Saxon way works also well:
> 
> <xslt in="${src_file}" out="${build}/trash.xml"
> style="${lib}/tools/test.xsl" force="true">
>     <param name="files_prefix" expression="${files_prefix}"/>
>     <xmlcatalog refid="catalog"/>
>     <classpath location="${Saxon9.classpath}" /> </xslt>
> 		
> 
> Is there any other way to submit a xmlcatalog to saxon9-ant.jar?
> 
> Thanks,
> 
> Stefan Krause

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-2007 All Rights Reserved.