|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: running saxon on commandline, java, solaris
You need a space after the -classpath option keyword, and you need saxon.jar on the classpath (not the directory that contains it). Mike Kay > -----Original Message----- > From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx > [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Sakaama > Heesakkers > Sent: 08 October 2001 15:07 > To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx > Subject: running saxon on commandline, java, solaris > > > Hi, > > Apologies for asking what I suspect is a very newbie-ish > question... I'm > having trouble running saxon from the commandline on solaris. > The examples > from the list archive (and the saxon docs) don't work, regardless of > -classpath, or setting CLASSPATH. More a problem with java > (or rather, my > very limited understanding of it) than with saxon - but if > anyone could > help me out, I would be very grateful! > > > From > http://www.biglist.com/lists/xsl-list/archives/200006/msg00180.html : > "The saxon doc says that the command for invoking saxon is as follows: > java com.icl.saxon.StyleSheet [options] source-document > stylesheet [ params...] > This works well, e.g. java com.icl.saxon.StyleSheet foo.xml > foo.xsl foo=bar " > > On solaris 7, java 1.1.6 > classes.zip is in /usr/java/1.1/lib > saxon.jar, hello.xml and hello.xsl are all in the current dir. > > [101]java -classpath/usr/java1.1/lib:. > com.icl.saxon.Stylesheet world.xml > hello.xsl helloworld.html > Can't find class world.xml > > [102]java -classpath/usr/java1.1/lib:. > com.icl.saxon.Stylesheet hello.xml > hello.xsl > helloworld.html > Can't find class hello.xml > > [103]java -classpath/usr/java1.1/lib:. > com.icl.saxon.Stylesheet hello.xml > hello.xsl > Can't find class hello.xml > > [104]java -classpath/usr/java1.1/lib:. > com.icl.saxon.Stylesheet ./hello.xml > ./hello.xsl > Invalid class name: ./hello.xml > Usage: java [-options] class > where options include: > (etc.) > > Any clues? Thanks in advance... > > S* > > > -- > Sakaama Heesakkers, Database/SGML developer > Digitaal Productiecentrum, Universiteitsbibliotheek, UvA > http://www.uba.uva.nl/dpc * http://logos.uba.uva.nl * Oh, Essex! > 'Zorgen moet je doen, niet maken' -Loesje # use Disclaimer > qw(:standard); > > "An eye for an eye makes the whole world blind." - Mahatma Ghandi > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > 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








