I am a complete neophyte and want to install Saxon 9.2 (HE) on my Mac OS X leopard 10.5.4. I've got instructions to ensure that I have "saxon.jar in my CLASSPATH by opening a command prompt in the directory in which I've saved my document - helloworld.xml." I have then been instructed to use the following command line:

java net.sf.saxon.Transform -o HelloWorld.saxon.html HelloWorld.xml HelloWorld.xsl

The instruction explains that this tells Saxon to transform HelloWorld.xml using HelloWorld.xsl and directs the output of the transformation to HelloWorld.saxon.html.

However, I am at a loss to know where to begin with this, without any experience of command-line programming I might do something else...irreversible. If someone can tell me how to

  1. ensure that I have got saxon9.2.jar in my CLASSPATH and,

  2. how to to open a command prompt in the directory in which I've saved my document,

  3. where to type the command line typed above

  4. and then precisely what I have to do next

Do I have to repeat this process each time I want to create xml / XSLT documents.


We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now