Subject: [xsl] RE: Saxon via Ant - Getting started From: "Kerry, Richard" <richard.kerry@xxxxxxxx> Date: Wed, 30 Jan 2013 12:32:51 +0000 |
This is what I have at the moment : <xslt out="${out_name}" in="${doc_file}" style="${xsl_file}" > <classpath> <pathelement location="${saxon_6_path}" /> <pathelement location="${resolverpath}" /> <pathelement location="${catmanpath}" /> </classpath> <outputproperty name="indent" value="yes" /> <param name="name" expression="${name}" /> <xmlcatalog > <catalogpath> <pathelement location="${catmanpath}" /> </catalogpath> </xmlcatalog> </xslt> Which just gets me a message : BUILD FAILED C:\DocBook-System\Pdf\build-pdf.xml:58: stylesheet C:\DocBook-System\CustomFo.xsl doesn't exist. Where the value of ${xsl_file} is "CustomFo.xsl" and the path where it isn't found is actually where the main build.xml file lives. CustomFo.xsl is elsewhere, its location being in the catalog. There are no messages at all containing the word "resolver", so I've no idea what ant is doing there. Regards, Richard. ________________________________________ From: Kerry, Richard [richard.kerry@xxxxxxxx] Sent: 30 January 2013 12:19 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: [xsl] Saxon via Ant - Getting started I've just started trying to use Ant to get some Docbook XSL processed via Saxon 6. Previously I've been doing it using batch files, and could successfully sun Saxon 6.5 with the catalog resolver, and get the results I wanted. However, I seem to be having some problems getitng it to work in ant. Really I'm looking for a simple example of an ant <xslt> task showing the reference to the Saxon and resolver jars, and the catalog manager folder (or its .properties file). When I try doing it by calling Saxon from a <java> task I get a message about it not understanding the -x option, so I thought I'd stick with the <xslt> task as it is more specific. Regards, Richard. Richard Kerry BNCS Engineer T: +44 (0)20 82259063 M: +44 (0)7812 325518 Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ richard.kerry@xxxxxxxx uk.atos.net This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Saxon via Ant - Getting s, Kerry, Richard | Thread | Re: [xsl] RE: Saxon via Ant - Getti, Michael Kay |
Re: [xsl] Saxon via Ant - Getting s, Michael Kay | Date | Re: [xsl] [xsl-fo] Flexible Region-, Geert Bormans |
Month |