The xml-model Processing Instruction
The xml-model processing instruction associates an XML document with one or more schemas:
<?xml-model href="..." schematypens="..."?>
XMLBlueprint recognizes the following pseudo-attributes:
|
• | href -- Specifies the location of the associated schema. |
• | schematypens -- Specifies the type of the associated schema. |
To associate an XML Document with a Relax NG Schema:
<?xml-model href="url-of-schema" schematypens="http://relaxng.org/ns/structure/1.0"?>
To associate an XML Document with a Schematron:
<?xml-model href="url-of-schema" schematypens="http://purl.oclc.org/dsdl/schematron"?>
To associate an XML Document with an XSD:
<?xml-model href="url-of-schema" schematypens="http://http://www.w3.org/2001/XMLSchema"?>