2.2.1.2.41 documentSchemas

The documentSchemas element specifies the XML schemas for the form template. This element contains references to one or more XML schemas that are used to form an authoritative XML schema to which the form file MUST fully conform, as specified by [XMLSCHEMA1].

The root element of the authoritative XML schema is defined in the XML schema identified by the rootSchema attribute of the documentSchema element (section 2.2.1.2.42). Additional XML schemas are included by using the XML schema’s import or include constructs as follows:

  • If the XML schema is included using the XML schema import construct, as specified by [XMLSCHEMA1], a documentSchema element MUST exist for that imported XML schema.

  • If the XML schema is included using the XML schema include construct, as specified by [XMLSCHEMA1], a documentSchema element MUST NOT exist for the included XML schema.

Parent Elements

xDocumentClass

Child Elements

documentSchema

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="documentSchemas">
   <xsd:complexType>
     <xsd:sequence>
       <xsd:element ref="xsf:documentSchema" maxOccurs="unbounded"/>
     </xsd:sequence>
   </xsd:complexType>
 </xsd:element>