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

Re: How do I properly define a unix saxon script comma

Subject: Re: How do I properly define a unix saxon script command line
From: "Houghton,Andrew houghtoa@xxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 11 Nov 2014 22:08:26 -0000
Re:  How do I properly define a unix saxon script comma
This should help:
http://www.saxonica.com/html/documentation/using-xsl/commandline.html

Just put Java in your Unix path or specify the full path name to java in the
command script.

Andrew

From: Catherine Wilbur cwilbur@xxxxxxxxxxx
[mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx]
Sent: Tuesday, November 11, 2014 16:47
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject:  How do I properly define a unix saxon script command line

Want to write a command line to call Saxon processor from a unix script line.
Am using Saxon-HE from Unix command line to convert my XML file into a CSV
file so it can be uploaded into a DB Table. We are using the DB table as input
into our AP interface in ERP E1. Had to switch to Saxon processor because
xsltproc does not work with xsl 2.0.

In the command line call I need to specify two classpaths  (Classpath for
JAVA, Classpath for SAXON jar files)

How would I call the saxon processor in a unix script and pass it the
following information
JavaClassPath, SaxonJarClassPath, InputFile, StylesheetFile, OutputFile

So far this is the unix command line I came across on the web.  Read thru page
853-854 of XSLT 2.0 3rd Edition Programmer's Reference and it does not quite
give me what I am looking for.  Where would I find all the Saxon command line
options
Want to do saxon conversion of XML file within a unix shell script.  We have
Java on Unix box.  Loaded Saxon jar files in a different directory on unix
box.  Loaded stylesheet on unix box.  Loaded InputFile on unix box.

saxon br saxonjarclasspath/saxon.jar -m javaclasspath -s:Input_File
-xsl:Stylesheet_File  bo Output_File

_____________________________________________________________________
Catherine Wilbur  |  Senior Application Programmer  |  IT Services
401 Sunset Avenue, Windsor ON Canada  N9B 3P4
(T) 519.253.3000 Ext. 2745  |  (F) 519.973.7083  |  (E)
cwilbur@xxxxxxxxxxx<mailto:cwilbur@xxxxxxxxxxx>
www.uwindsor.ca/its
XSL-List info and archive<http://www.mulberrytech.com/xsl/xsl-list>
EasyUnsubscribe<-list/1350688> (by email<>)

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