xmlToEdit Attribute

Microsoft Office InfoPath

xmlToEdit Attribute

Specifies the name of an xmlToEdit element, for which the button is used.

Type

      xsd:NMTOKEN
    

Remarks

The xmlToEdit attribute is an optional attribute of the button element, but is required for buttons used with editing components.

Example

The following is an example of the xmlToEdit attribute as it is used in the button element:

    <xsf:menuArea name="msoInsertMenu">
   <xsf:menu caption="&amp;Section">
      <xsf:button action="xCollection::insert" xmlToEdit="CD_10"
         caption="CD" showIf="always"></xsf:button>
      <xsf:button action="xCollection::insert" xmlToEdit="Track_14" 
         caption="Track" showIf="always"></xsf:button>
      <xsf:button action="xOptional::insert" xmlToEdit="Label_16" 
         caption="Label"></xsf:button>
   </xsf:menu>
</xsf:menuArea>