[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
RE: [xsl] running saxon on commandline, java, solaris
Subject: RE: [xsl] running saxon on commandline, java, solaris From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Mon, 8 Oct 2001 16:08:03 +0100 |
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: [xsl] 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] running saxon on commandl, Sakaama Heesakkers | Thread | Re: [xsl] running saxon on commandl, roger . day |
[xsl] Paging and Sorting, Katie McNally | Date | Re: [xsl] Comparision of parsers, cutlass |
Month |