rootSchema Attribute

Microsoft Office InfoPath

Show All Show All

rootSchema Attribute

Identifies an XML Schema as the top-level schema of the form being filled out.

Type

      xsf:xdYesNo
    

Remarks

The rootSchema attribute is an optional attribute of the documentSchema element.

Only one of the XML Schemas defined for a form can be marked as the root schema. Allowed values are "yes" and "no". The default value is "no".

Example

The following is an example of the rootSchema attribute as it is used in the documentSchema element:

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