[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Saxon unix script command line not finding stylesh
As I'm sure Mike knows .... Saxon 6 used space. Saxon 9 uses colon. I noticed the difference as while I was setting up Ant tasks for XSL using both versions I found that with Saxon 6 I needed to pass each argument as two separate <arg> elements, for example : <arg value="-x" /> <arg value="org.apache.xml.resolver.tools.ResolvingXMLReader" /> As Saxon 9 uses colons each argument is passed in its entirety. <arg value="-x:org.apache.xml.resolver.tools.ResolvingXMLReader" /> Regards, Richard. From: Michael Kay mike@xxxxxxxxxxxx [xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx] Sent: 14 November 2014 09:30 To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Cc: Catherine Wilbur cwilbur@xxxxxxxxxxx Subject: Re: Saxon unix script command line not finding stylesheet even though it exists > On Thu, 13 Nov 2014 21:51:42 -0000 > "Catherine Wilbur cwilbur@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote: > >> What would cause the following error to occur >> >> Stylesheet file -xsl:/usr/local/finesrv/erp/jdedwardsoneworld/cron/ >> LibrXML2CSV_stylesheet.xsl does not exist > > I think you need a space, not a colon, between an option and its argument, so > -xsl /usr/local/finesrv/erp/jdedwardsoneworld/cron/LibrXML2CSV_stylesheet.xsl > Sorry, Liam, it may be a little unconventional, but Saxon uses -keyword:value for its options. Michael Kay Saxonica Atos, Atos Consulting, Worldline and Canopy The Open Cloud Company are trading names used by the Atos group. The following trading entities are registered in England and Wales: Atos IT Services UK Limited (registered number 01245534), Atos Consulting Limited (registered number 04312380), Atos Worldline UK Limited (registered number 08514184) and Canopy The Open Cloud Company Limited (registration number 08011902). The registered office for each is at 4 Triton Square, Regentbs Place, London, NW1 3HG.The VAT No. for each is: GB232327983. This e-mail and the documents attached are confidential and intended solely for the addressee, and may contain confidential or privileged information. If you receive this e-mail in error, you are not authorised to copy, disclose, use or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended or lost, they are not secure. Atos therefore can accept no liability for any errors or their content. Although Atos endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Atos by email.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|