editing Element

Contains information about the editing components used in the view.

Type

xsd:complexType

Structure

Name Description
xmlToEdit (Optional element) Specifies an instance of an editing component.

Remarks

The editing element is an optional element of the view element.

The editing components section of the Microsoft Office InfoPath 2003 form definition (.xsf) file defines how and when users are able to edit specified XML Document Object Model (DOM) nodes of a form's underlying XML document. Only one editing element is allowed per view. Each editing element can contain zero or more xmlToEdit elements.

Example

The following is an example of the editing element:

<xsf:editing>
   <xsf:xmlToEdit name="CD_10"
      item="/CustomUISample/CDCollection/CD" 
      container="/CustomUISample">
      <xsf:editWith caption="CD"
         xd:autogeneration="template" 
         component="xCollection">
         <xsf:fragmentToInsert>
            <xsf:chooseFragment parent="CDCollection">
               <CD>
                  <Title></Title>
                  <Artist></Artist>
                  <Tracks>
                     <Track></Track>
                     <Track></Track>
                  </Tracks>
               </CD>
            </xsf:chooseFragment>
         </xsf:fragmentToInsert>
      </xsf:editWith>
   </xsf:xmlToEdit>
</xsf:editing>

Child Objects | xmlToEdit Element