Show All

# xdYesNo Type

Specifies a yes or no value.

## Type

    xsd:NMTOKEN

## Facets

Name | Description
--- | ---
enumeration | yes
enumeration | no

## Remarks

The xdYesNo type is used for attributes in the form definition (.xsf) file that require a yes or no value.

## Example

The following example is the declaration of the xdYesNo type:

    <xsd:simpleType name="xdYesNo">
       <xsd:restriction base="xsd:NMTOKEN">
          <xsd:enumeration value="yes" />
          <xsd:enumeration value="no" />
       </xsd:restriction>
    </xsd:simpleType>

©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