Dynamic Validation

Roger Costello

Click arrow key () to navigate to next page

Run-time Validation

Production Environment

1. An XML instance document is sent to a Web Server. 2. The Web Server forwards the document to some Code. 3. The Code invokes a Schematron Validator with the document, along with the apprpriate Schematron Schema. 4. The Schematron Validator validatates the document against the Schema, and returns the results to the Code.

Validation using XSLT

Step 1

An XSLT processor is invoked, with the Schematron Schema and skeleton1-5.xsl The output is Validation.xsl

Step 2

An XSLT processor is invoked, with the XML instance document and Validation.xsl The output is the validation results.

Summary

An XSLT processor is invoked, with the Schematron Schema and skeleton1-5.xsl The output is sent back into the XSLT processor, along with the XML instance document. The output is the validation results.

Example

Lab 7

Homepage