xdYesNo Type

Microsoft Office InfoPath

Show All 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>