XML technologies / Schematron / SVRL / Output of the Skeleton implementation
(Excerpt from "Schematron - Effiziente Business Rules für XML-Dokumente", chapter 9)
Unlike parsers for other validation languages, Schematron lets us look behind the scenes of Schematron validation without advanced programming knowledge. The following figure therefore shows the steps from a Schematron schema to an error report:
Figure: XSLT transformation chain of a Schematron implementation
The first step illustrates a special XSLT feature: using the Schematron schema, the Skeleton stylesheet generates an XSLT stylesheet tailored to the instance. The second transformation uses this generated stylesheet to validate the instance. It produces a standardized report in the media-neutral XML interface language Schematron Validation Report Language (SVRL). An optional further transformation converts it into any media-specific XML syntax. Error reports can thus be generated in HTML or DocBook, for example.
Copyright © dpunkt.verlag GmbH 2011
You may print the online version for private use. Otherwise, this chapter from "Schematron - Effiziente Business Rules für XML-Dokumente" is subject to the same terms as the printed edition: the work and all its parts are protected by copyright. All rights reserved, including reproduction, translation, microfilming, and storage and processing in electronic systems.
dpunkt.verlag GmbH, Ringstraße 19B, 69115 Heidelberg, phone 06221-14830, fax 06221-148399, hallo(at)dpunkt.de
back to top