<?xml-model?> is processing instruction which can be used for associating schema with an XML document. It can be used for associating schema written in any schema language (including RELAX NG, W3C XML Schema, DTD and Schematron) and several schemas can be associated at the same time.
It is especially useful when ad-hoc schema has to be used for document validation and it's impractical to setup schema association indirectly.
Syntax of <?xml-model?> processing instruction is
similar to a well known <?xml-stylesheet?> processing
instruction. The simplest usage is just to
href attribute to reference desired
<?xml version="1.0" encoding="utf-8"?> <?xml-model href="my-schema.rng"?> <document> ... </document>
The following tools are supporting <?xml-model?> processing instruction:
If you know tool which supports <?xml-model?> and it is not listed here please let me know.