Application resources

This application relies on a number of resource files, these are outlined below

xsl/viewer_app.sef.json

Stylesheet Export File (SEF) generated from the viewer_app.xsl stylesheet using Saxon-EE, for use with SaxonJS.

xsl/viewer_app.xsl

The top-level XSLT file - imports other XSLT resources.

Controls responses to user and system events and imports remaining XSLT.

Responsible for dynamic control over all visual elements in the application - except the rendered page.

xsl/*.xsl

All the imported XSLT files - each one responsible for rendering a different document structure or serving a specialist function - such as search.

viewer_app.js

JavaScript for managing state and for non-standard features like text-highlighting.

viewer_app.css and saxon-base.css

Controls all style and layout aspects of the application.

index.html

The host HTML page - loads the SaxonJS processor and contains the 'skeleton' on which to hang the dynamic elements of the application.

doc/catalog.xml

References all the top-level documents containing article elements - represented as top-level nodes in the Table of Contents.

doc/*.xml

All the top-level documents - each one containing an HTML 5 article element with a number of nested section elements.

docimg/*.*

Container for all media files (such as graphics) referenced from within articles or sections.

image/*.*

Images used by the application - should be kept separate from images referenced by the documentation (unless they serve both purposes).

javadoc-xml/*.*

JavaDoc files for the Saxon Java API.

All files in this directory should be auto-generated on a Saxon build. The build uses a Java doclet to create one 'master' XML file which is then processed by XSLT to partition, sort and group the data.

javadoc-xml/javadoc-tree.xml

Used by the application to show the tree-view of the JavaDoc members.

javadoc-packages.xml

The aggregated and processed well-formed content of HTML pages that describe each Saxon Java package and are maintained alongside the code.

javadoc-types.xml

File used as a rough indexing measure to locate Saxon Java types and functions.

javadoc-xml/packages/*.xml

Each XML file represents a Java package with data about each contained type, plus authored HTML comments (converted to well-formed XML by tagsoup).

dotnetdoc-xml/*.*

JavaDoc files for the Saxon.NET API. (Similar to javadoc-xml, see above.)

Saxon-JS/*.*

SaxonJS processor.