SaxonJS is an XSLT 3.0 and XPath 3.1 processor in pure JavaScript. It is designed to execute Stylesheet Export Files, compiled by either Saxon-EE, or the XX compiler integrated into the Node.js SaxonJS package.
A preview release of SaxonJS-HE 3.0 is now available, released on 18 December 2024.
For
Node.js there are two npm packages available, "saxonjs-he", and the command line
interface package "xslt3-he". These can be installed from the command line in the
usual
way (e.g. npm install saxonjs-he
), or use the links below to the Saxonica
npm package pages.
Node.js packages | SaxonJS-HE 3 | SaxonJS-HE 3 CLI |
saxonjs-he
(npm)
|
xslt3-he
(npm)
|
Use the buttons below to download the latest SaxonJS 3 releases for the browser.
Browser releases | SaxonJS 3.0.0-beta1 |
SaxonJS 3.0.0-beta1 |
To be able to use all the new features of SaxonJS 3, SEFs must be produced with Saxon-EE
12.5 or later (specifying -target:JS3
on the command line), or compiled
using the internal compiler in SaxonJS 3 on Node.js.
For further details on Saxon-EE and SaxonJS compatibility, see the Compatibility section on the main SaxonJS page.
For more information on the 3.0.0-beta1 release, see the Release notes.
From SaxonJS 2, the product is available on Node.js as well as in the browser. For
Node.js
there are two npm packages available, "saxon-js", and the command line interface package
"xslt3".
These can be installed from the command line in the usual way (e.g. npm install
saxon-js
), or use the links below to the Saxonica npm package pages.
Node.js packages | SaxonJS 2 | SaxonJS 2 CLI |
saxon-js
(npm)
|
xslt3
(npm)
|
Use the buttons below to download the latest SaxonJS 2 releases for the browser.
Browser releases | SaxonJS 2.7 | SaxonJS 2.6 |
SaxonJS 2.7 |
SaxonJS 2.6 |
The latest SaxonJS release is 2.7, released on 17 October 2024. The previous release SaxonJS 2.6 was released on 13 October 2023. For use with SaxonJS 2, SEFs must either be produced with Saxon-EE 10.0 or later, or Saxon-EE 11.3 or later, or using the new XX compiler integrated into SaxonJS 2 for Node.js. SEFs generated using Saxon-EE 10 or 11 require SaxonJS 2.
In the Saxon-JS 1.x series, the latest release is 1.2.0, released on 5 October 2018. To be able to use all features, it is recommended that SEFs are produced with Saxon-EE 9.8.0.12 or later (in general SEFs should be produced with Saxon-EE 9.7.0.15 or later for use with Saxon-JS 1.x). SEFs generated using Saxon-EE 9.9 require Saxon-JS 1.2.
For further details on Saxon-EE and SaxonJS compatibility, see the Compatibility section on the main SaxonJS page.
To download Saxon-JS 1.2.0 and earlier releases, see SaxonJS archive.
SaxonJS-HE 3 is free of charge but not open source. The code is the intellectual property of Saxonica, except for the open source components listed in the SaxonJS documentation.
Two licenses are available: the Public License, and the Subscriber License. The Public License is available to anyone who downloads the software, and can be found in the SaxonJS documentation. The Subscriber License is available to those who purchase an annual subscription from the Saxonica shop. As well as traditional support, this provides access to source code, add-on development and debugging tools, and (in due course) additional product functionality. Details of this service and the terms and conditions can be found in the SaxonJS enterprise services product definition and licensing terms.
SaxonJS 2 is free of charge but not open source. The code is the intellectual property of Saxonica, except for the open source components listed in the SaxonJS documentation.
Two licenses are available: the Public License, and the Subscriber License. The Public License is available to anyone who downloads the software, and can be found in the SaxonJS documentation. The Subscriber License is available to those who purchase an annual subscription from the Saxonica shop. As well as traditional support, this provides access to source code, add-on development and debugging tools, and (in due course) additional product functionality. Details of this service and the terms and conditions can be found in the SaxonJS enterprise services product definition and licensing terms.
Although the source code of Saxon-JS 1 is made available, the product is not open source. The code is the intellectual property of Saxonica, except for the open source components listed at Third-party components.
For licensing purposes Saxon-JS 1 is considered to be part of Saxon Enterprise Edition, and purchasing a Saxon-EE license entitles you to use and deploy Saxon-JS 1. The basic model for Saxon-JS 1 is that we charge for development, not for deployment. A Saxon-EE license is required to produce an SEF (stylesheet export file), but no license is needed for run time deployment on a web browser. The Saxon-EE license conditions can be found at Saxon licensing.
For release notes, documentation, information on installing the software, and details about earlier releases, see the SaxonJS product page.