Saxon-HE

Introduction

Saxon is an XSLT and XQuery processor created by Michael Kay. There are open-source and also closed-source commercial versions. Versions exist for Java, JavaScript, and .NET.

Saxon-HE (home edition) is an open source product available under the Mozilla Public License. It provides implementations of XSLT 2.0, XQuery 1.0, and XPath 2.0 at the basic level of conformance defined by W3C. It is available for both Java and .NET.

Usage

Compute Systems Invocation Version(s)
Red Hat Linux (64-bit) % /util/saxonhe/ 9.5.1.1 (default)

Examples


% cd /util/saxonhe

for XSLT (all on one line):

% java -cp saxon9he.jar net.sf.saxon.Transform -t -s:samples/data/books.xml -xsl:samples/styles/books.xsl -o:/tmp/books.html

for XQuery (all on one line):

% java -cp saxon9he.jar net.sf.saxon.Query -t -s:samples/data/books.xml -q:samples/query/books-to-html.xq > /tmp/books.html

Notes

  1. CSE supports the free, open source edition of Saxon, Saxon-HE (Saxon Home Edition).

People

  1. Jan Chomicki, CSE 636 instructor.

References

  1. http://en.wikipedia.org/wiki/Saxon_XSLT
  2. http://saxon.sourceforge.net
  3. http://www.saxonica.com/documentation/index.html
  4. http://www.saxonica.com/documentation/index.html#!about/gettingstarted/gettingstartedjava