|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Running both Saxon and Xalan? (Was: Re: Saxon is t
Dimitre Novatchev wrote: > It was me and I still don't know how to be able to run both Saxon and Xalan > from the comand line (without having to change classpath etc. inbetween). > > I hope someone would help solve this problem? You can tell the JVM to use a specific classpath via the -classpath option on the command line. In my (non-Windows) shell I have aliases set up: alias xt 'java -classpath /home/mike/xml/xt-20020426a-src/lib/xp.jar:/home/mike/xml/xt-20020426a-src/lib/xml-apis.jar:/home/mike/xml/xt-20020426a-src/xt.jar com.jclark.xsl.sax.Driver' alias saxon 'java -classpath /home/mike/xml/saxon:/home/mike/xml/saxon/saxon.jar com.icl.saxon.StyleSheet' alias xalan 'java -classpath /home/mike/xml/xalan/bin/xalan.jar:/home/mike/xml/xalan/bin/xml-apis.jar:/home/mike/xml/xalan/bin/xercesImpl.jar org.apache.xalan.xslt.Process' alias oraxsl 'java -classpath /home/mike/xml/oracle/lib/xmlparserv2.jar:/home/mike/xml/oracle/lib/xmlmesg.jar oracle.xml.parser.v2.oraxsl' The syntax for setting aliases will vary from shell to shell, of course, and obviously you want to adjust the paths, but you get the idea... I've also got 4Suite, libxml and Sablotron installed, so I have '4xslt', 'xmlproc' and 'sabcmd' in my path already; no need for aliases for those. Mike -- Mike J. Brown | http://skew.org/~mike/resume/ Denver, CO, USA | http://skew.org/xml/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








