Installing SAXON on Windows

  1. Enter the URL: http://saxon.sourceforge.net/.
  2. From SAXON: The XSLT and XQuery Processor page, scroll to find the heading Saxon-B 9.1.
  3. Select Download. The SourceForge.net page opens with a list of download options.
  4. Select any of the images to start the download.
  5. Click Save to unzip the saxonb9-1-0-5j.zip file and save it to the C:\ directory as saxon.
  6. Add C:\saxon\saxon9.jar;C:\saxon\saxon9-dom.jar;C:\saxon\saxon9-dom4j.jar;C:\saxon\saxon9-jdom.jar;C:\saxon\saxon9-s9api.jar;C:\saxon\saxon9-sql.jar;C:\saxon\saxon9-xom.jar;C:\saxon\saxon9-xpath.jar;C:\saxon\saxon9-xqj.jar; to the CLASSPATH environment variable.
  7. Set up ANT_OPTS. For example: set ANT_OPTS=%ANT_OPTS% -Djavax.xml.transform.TransformerFactory= net.sf.saxon.TransformerFactoryImpl