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>

©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