From: Abel Braaksma <abel.online@xs...> - 2007-01-15 16:50:17
Howard Weakley wrote:
What an odd, hard-to-read layout do you use for your message... but=20
that's a matter of taste, I suppose. I'll reply in text-only.
> I=92ve downloaded the saxon 8.8 for .NET to a folder at c:\saxon. =20
In the rest of your message you talk of Java. Try downloading the Java=20
version of saxon.
> Command Line Statement: java =96jar c:\saxon\saxon8.jar =96a hello.xml
> Error Message: Unable to access jarfile c:\saxon\saxon8.jar
This message comes from Java, not from saxon. Try the following:
Does it list your jar file? If not, download the Java version to some=20
location and try again.
-- Abel Braaksma
From: Michael Kay <mike@sa...> - 2007-01-15 16:59:40
At the time my XSLT 2.0 book was written, Saxon was available only on the
Java platform, not on .NET, so all the instructions there apply to the Java
java -jar c:\saxon\saxon8.jar -a hello.xml
you want to do
Transform -a hello.xml
(specifying or changing directories as needed according to your actual
Incidentally, if there are no particular constraints causing you to choose
the .NET platform rather than Java, I'd be more inclined to use Java,
because that's the "native" platform for Saxon, which means things like
diagnostics and performance may be slightly better, and also there are a lot
more users able to help with it.
[mailto:saxon-help-bounces@...] On Behalf Of Howard
Sent: 15 January 2007 03:39
Subject: [saxon] saxon at command line
I've downloaded the saxon 8.8 for .NET to a folder at c:\saxon.
I've downloaded the samples to the same folder. I've ran the command line
for XSLT that is shown in the GETTING STARTED for NET section of the Saxon
documentation (bin\Transform -t samples\data\books.xml
I've also run the command line statement for XQuery that is also
shown in the GETTING STARTED for NET section of the Saxon documentation.
bin\Query -t -s
In both cases, I can then open c:\temp.html in Internet Explorer and
get the page displayed as it should be.
The issue begins when I try to follow the directions in the book
XSLT 2.0 for using saxon to display the initial hello.xml file through the
command line. When I enter the the following command line statement at the
command prompt I get the following message.
Command Line Statement: java -jar c:\saxon\saxon8.jar -a
Error Message: Unable to access jarfile c:\saxon\saxon8.jar
The instructions in the book don't say anything about changing
directory, however, I've tried the command from the root directory, from the
saxon directory, and from the the default directory which is c:\Daocuments
and Setting\MyUsername. Neither of these approaches works.
Can anyone shed any light on this?