[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

running saxon on commandline, java, solaris

Subject: running saxon on commandline, java, solaris
From: Sakaama Heesakkers <sakaama@xxxxxxxxxx>
Date: Mon, 08 Oct 2001 16:07:16 +0200
saxon doc
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



Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.