xml-model

  • processing instruction for associating schema with an XML document

    <?xml version="1.0" encoding="utf-8"?>
    <?xml-model href="http://www.docbook.org/xml/5.0/rng/docbook.rng"?>
    <book xmlns="http://docbook.org/ns/docbook"></book>
  • supports all schema languages (including DTD, W3C XML Schema, RELAX NG, Schematron, NVDL)

  • the aim is to standardize proprietary instructions supported in various tools

  • in many cases it is still better to associate schema indirectly using e.g. NVDL, XProc or some application specific mapping table

  • developed jointly by W3C and SC34

  • W3C WG Note: http://www.w3.org/TR/xml-model/

  • DIS ballot in SC34 will be finished after next week