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:

XSLT transformation chain of a Schematron implementation

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.

   

 

 

 

back to top