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

RE: Batch XSLT Processing

Subject: RE: Batch XSLT Processing
From: Joshua Allen <joshuaa@xxxxxxxxxxxxx>
Date: Tue, 11 Jul 2000 21:00:40 -0700
batch xslt
Most all XSLT processors can be called command line
in a batch.  Below I include the command lines I use for
various processors.  I have also written a simple wrapper
for MSXML3 that allows batching XSLT; if you are interested
I can e-mail to you.

java -classpath c:\saxon\saxon.jar com.icl.saxon.StyleSheet -o tmpout.xml
tmpdata.xml tmpxform.xml

java -classpath c:\xalan\xalan.jar;c:\xalan\xerces.jar
org.apache.xalan.xslt.Process -in tmpdata.xml -xsl tmpxform.xml -out
tmpout.xml

java -classpath c:\xt\xt.jar;c:\xerces\xerces.jar
-Dcom.jclark.xsl.sax.parser=org.apache.xerces.parsers.SAXParser
com.jclark.xsl.sax.Driver tmpdata.xml tmpxform.xml tmpout.xml

java -classpath c:\oraxml\lib\xmlparserv2.jar oracle.xml.parser.v2.oraxsl
tmpdata.xml tmpxform.xml tmpout.xml

URLs to download the above parsers, in order:

http://users.iclway.co.uk/mhkay/saxon/
http://xml.apache.org/xalan/
http://www.jclark.com/xml/xt.html
http://technet.oracle.com/tech/xml/parser_java2/

Joshua Allen
Microsoft eBusiness West Region
"No challenge can withstand the assault of sustained thinking" - Voltaire

Note: You need to point to the actual location you have unzipped the .jar
files.  Also note that I explicitly include classpath, since I seem to have
strange behavior if the processors all use the same global classpath.
Finally note that most of the above allow mixing and matching SAX
processors; this is just the config I use.

> -----Original Message-----
> From: Meukens, Kris [mailto:kris.meukens@xxxxxxx]
> Sent: Tuesday, July 11, 2000 2:37 AM
> To: 'xsl-list@xxxxxxxxxxxxxxxx'
> Subject: Batch XSLT Processing
> 
> 
> Hi,
> 
> Anyone knowing a program to do a batch XML -> HTML
> conversion with XSLT? Cocoon 1.7.4 has a main() 
> method which is not more than a hack and doesn't 
> seem to support relative stylesheed URIs.
> 
> If somebody could point out what the problem is
> in Cocoon, that might help too.
> 
> Kris.
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.