This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
running saxon on commandline, java, solaris
- To: XSL-List at lists dot mulberrytech dot com
- Subject: [xsl] running saxon on commandline, java, solaris
- From: Sakaama Heesakkers <sakaama at uba dot uva dot nl>
- Date: Mon, 08 Oct 2001 16:07:16 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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