I wish to link an xml document to its Relax NG description document, using the xml-model tag as specified in its W3C draft.
<?xml-model href="" type="" schematypens="" charset="" title="" group="" phase="" ?>
Do you have a full example to show how to use it? Are there validator tools that understand the xml-model tag?
EDIT: I saw the example here Suggested use of schematypens. I guess the only question remaining is which tools use xml-model.
The example given in the spec is enough for RELAX NG:
<?xml-model href="http://www.docbook.org/xml/5.0/rng/docbook.rng" schematypens="http://relaxng.org/ns/structure/1.0"?>
Or, if you are using the compact syntax:
<?xml-model href="whatever.rnc" type="application/relax-ng-compact-syntax"?>
oXygen XML does support this specification.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With