type Attribute (field Element)

Microsoft Office InfoPath

Show All Show All

type Attribute (field Element)

Identifies the standard XML Schema data type.

Type

      xsd:NMTOKEN
    

Remarks

The type attribute is a required attribute of the field element.

Example

The following is an example of the type attribute as it is used in the field element:

    <xsf:listProperties>
   <xsf:fields>
      <xsf:field
         type="xsd:date"
         name="TravelDate"
         columnName="TravelDate" 
         required="yes"
         viewable="yes"
         node="TravelReport/Header/travelDate"
         aggregation="first"/>
   </xsf:fields>
</xsf:listProperties>