Subject: RE: Batch XSLT Processing From: Joshua Allen <joshuaa@xxxxxxxxxxxxx> Date: Tue, 11 Jul 2000 21:00:40 -0700 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Batch XSLT Processing, Meukens, Kris | Thread | MSXML 3.0 XSLT. Does it work?, sotiris |
RE: Help, Arved Sandstrom | Date | Re: FOP formatting - page break????, Nikolai Grigoriev |
Month |