Show All

# documentSchemas Element

Defines the XML Schemas that the Microsoft Office InfoPath 2003 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>

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp