XSLT Packaged Stylesheets

The net.sf.saxon.CompileStylesheet facility, which serialized the internal representation of a stylesheet, is withdrawn in this release. Because the feature offered few performance benefits, it was used mainly to enable XSLT stylesheets to be distributed without revealing the source code to users, thus preserving the intellectual property of the author. The feature is replaced by a new facility designed to achieve the same effect in a cleaner way, with fewer restrictions.

Saxon-PE/EE now provide a command to create a packaged stylesheet in the form of a ZIP file. The contents are in obfuscated form so the source code is not visible. A JAR file, saxon9-unpack.jar, is available with all Saxon editions allowing a stylesheet that comes in this form to be executed. This JAR file contains Saxonica proprietary (non-open-source) code, but is available at no cost and does not require a license key to run.

For full details of the facility see Packaged Stylesheets.