Source code, samples, and other resources

Source code, sample files, and documentation are not included in the same download file as the executable code. Instead, they are in a separate resources file, which can be downloaded from either the SourceForge or the sites. The documentation is also available online.

Source code

The source code for Saxon-HE (on both the Java and .NET platforms) is available in the package from either the SourceForge or the Saxonica sites. Note that it is not necessary to download or recompile the source code unless you need to make changes (and it is rarely necessary to make changes, because Saxon provides extensive system programming hooks to enable customization). The exception to this is that in Saxon-HE, adapters for external object models, and localization code for non-English languages, are provided in source form only.

The modules included in the source code of Saxon-HE are also used, without modification, in Saxon-PE and Saxon-EE. Source code for the additional components of the commercial editions is not provided. The source code is the same between the Java and .NET platforms: both products are generated from the same source, though there are some modules that apply only to one platform or the other. There are no build scripts provided for rebuilding the product from source code, because most users find it convenient to use their Java IDE for this purpose.

User documentation

User documentation (this documentation, together with API specifications for the Java and .NET products) is also available for download from the SourceForge site. The resources package contains exactly the same information as the documentation section of the Saxonica website. It also contains this documentation in its original XML form, together with the schemas and stylesheets used to publish it. Note that online documentation is available only for a few recent Saxon versions; older versions can be downloaded from SourceForge.

Sample applications

The resources download contains a number of sample applications, found in the directory /samples. They are described in the Samples section of the documentation. Most of the samples are equally applicable to the Java and .NET platforms.