documentSchemas Element

Defines the XML Schemas that the Microsoft Office InfoPath 2007 form is designed to handle.

Type

  xsd:complexType

Structure

Name Description
documentSchema (Required element) Defines an XML Schema for a form. One documentSchema element is present for each declared XML Schema in the form.

Remarks

The documentSchemas element is an optional element of the xDocumentClass element. It defines all of the target XML Schemas that are used in the form.

Example

The following is an example of the documentSchemas element:

  <xsf:documentSchemas>
   <xsf:documentSchema
      location="urn:schema:custom:Namespace customFilename.xsd"
      rootSchema="yes"/>
</xsf:documentSchemas>