I expect someone who knows the Mac better than I do will answer your questions, but unless you want to do some scripting/automation of the Saxon transformations, you might find it easier to install Kernow for Saxon which provides a graphical user-interface which is more like what you are used to.


Michael Kay

From: amanda rugg [mailto:esolstuff@hotmail.co.uk]
Sent: 25 January 2010 22:06
To: saxon-help@lists.sourceforge.net
Subject: [saxon] Installing Saxon 9.2(HE) on Mac OS X leopard

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