attributeData Element

Microsoft Office InfoPath

attributeData Element

Specifies the name, and associated value, of an attribute that will be inserted, or modified if it already exists, by the insert action of the xCollection or xOptional editing components.

Type

      xsd:complexType
    

Structure

Name Description
attribute (Required attribute) Specifies the name of the attribute to be inserted.
value (Required attribute) Specifies the value of the attribute to be inserted.

Remarks

The attributeData element is an optional element of the chooseFragment element.

Example

The following is an example of the attributeData element:

    <xsf:editWith component="xOptional">
   <xsf:fragmentToInsert>
      <xsf:chooseFragment parent="report">
         <xsf:attributeData attribute="author" value="author name"/>
      </xsf:chooseFragment>
   </xsf:fragmentToInsert>
</xsf:editWith>