skeleton1-5.xsl - An Implementation
of Schematron 1.5 in XSLT

skeleton1-5.xsl is a reference implementation of the Schematron 1.5 XML Validation language by Rick Jelliffe with the collaboration of members of the schematron-love-in mail-list.

NOTE: In 2007, consider switching over to ISO Schematron, the ISO standard version. An implementaiton is being prepared with the same API as used by the metastylesheets below.

Tools

Here are some metastylesheets that flesh out the functionality of the skeleton.

Creating your own metastylesheet

Here is some rough documentation for the API. You use the skeleton to create your own implementations: make your own XSLT script and include the skeleton and override the templates you need to. An example of doing this is the Schematron Validator which produces an XML Conformance Report.

There are also some Implementation Notes.

Conformance

We have tested the skeleton (and the conformance language) against more than ten implementations of XSLT (Java and C-based implementations available shrink-wrapped on PC) to make sure our code is portable.

The results of each conformance test was automatically checked by a Schematron script that detects important errors. All the scripts and the results are below.


For a related topic, see http://www.ascc.net/xml/connect for an XSLT stylesheet for automatically generating batch files for complex XSLT transformations.