Chapter 12. Schematron Validation Report Language (SVRL)

SVRL is define in 2, Annex D, as an informative annex. A Relax NG schema is provided. The file iso_svrl.xsl may be used as a front end to generate XML valid to this schema. In Appendix B, Schema for Schematron Validation Report LanguageAppendix B, Schema for Schematron Validation Report Language I have documented this schema, and provided minor extensions to improve its use as a language for output. Example 3.3, “Schematron output” shows a small file output in this language.
Uses. If you want your reports in XML (or HTML or PDF etc), then this language should be of interest. It is not much of a step to take this XML and transform it into whatever format you want for your purposes. With references back to the input Schematron file, the report on the file under test can be complete and standalone. Since the schema is not normative, it seems reasonable to extend it as needed without extending the standard. In the same way, if you design an appropriate input stylesheet, overriding the templates of iso_svrl.xsl by importing that stylesheet, you can generate your own variant on SVRL tailored to your own uses.