Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

editing Element

Office 2007

Contains information about the editing components used in the view.

Type

xsd:complexType

Structure

NameDescription
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 2007 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.

Note   This element or attribute is optional in the form definition file (.xsf) of a form template deployed as a browser-compatible form to a server running InfoPath Forms Services.

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>


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.