I think that,because of java or saxon classpath issue, I am unable to run saxon on Windows XP.

 

Loaded programs: saxon 6.5.3 full version

                 java 1.4.2_03

                

Saxon is located at and contains following files/folders

C:\saxon

     doc folder

     samples folder

     saxon jar exe file

     saxon-jdom jar exe file

    

I added saxon.jar to system environment variable as:

PATH      ...;C:\saxon\saxon.jar

I am not familiar with adding environment variables so I do not know if I need to create a new environment variable CLASSPATH and how I should set the path.

 

The following are error messages I get (java seems to be recognized okay):

 

C:\>saxon

'saxon' is not recognized as an internal or external command,

operable program or batch file.

 

C:\saxon>saxon HelloWorld.xml HelloWorld.xsl > nu.html

'saxon' is not recognized as an internal or external command,

operable program or batch file.

 

C:\>java -version

java version "1.4.2_03"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_03-b02)

Java HotSpot(TM) Client VM (build 1.4.2_03-b02, mixed mode)

 

C:\>java

Usage: java [-options] class [args...]

           (to execute a class)

   or  java [-options] -jar jarfile [args...]

           (to execute a jar file)

 

where options include:

    -client       to select the "client" VM

    -server       to select the "server" VM

    -hotspot      is a synonym for the "client" VM  [deprecated]

                  The default VM is client.

 

    -cp <class search path of directories and zip/jar files>

    -classpath <class search path of directories and zip/jar files>

                  A ; separated list of directories, JAR archives,

                  and ZIP archives to search for class files.

    -D<name>=<value>

                  set a system property

    -verbose[:class|gc|jni]

                  enable verbose output

    -version      print product version and exit

    -showversion  print product version and continue

    -? -help      print this help message

    -X            print help on non-standard options

    -ea[:<packagename>...|:<classname>]

    -enableassertions[:<packagename>...|:<classname>]

                  enable assertions

    -da[:<packagename>...|:<classname>]

    -disableassertions[:<packagename>...|:<classname>]

                  disable assertions

    -esa | -enablesystemassertions

                  enable system assertions

    -dsa | -disablesystemassertions

                  disable system assertions

 

C:\>

 

Thank you for your help!