The xml-model Processing Instruction

The xml-model processing instruction associates a schema with the XML document that contains the processing instruction. It must be added at the beginning of the document, just after the XML prologue. The following code snippet contains an xml-model processing instruction declaration:

<?xml-model href="../schema.sch" type="application/xml" schematypens="" phase="ALL" title="Main schema"?>

It is available in the Content Completion Assistant, before XML document root element, and includes the following attributes:

Older versions of Oxygen XML Developer used the oxygen processing instruction with the following attributes:

Note: Documents that use the oxygen processing instruction are compatible with newer versions of Oxygen XML Developer.
Parent topic: Setting a Schema for Content Completion Previous topic: Associating a Schema With the Namespace of the Root Element Next topic: Learning Document Structure