This documentation is archived and is not being maintained.

caption Attribute (editWith Element)

Office 2007

Specifies an identifier for alternate forms of XML data to be used in the editing component.

Type

xsf:xdTitle

Remarks

The caption attribute is an optional attribute of the editWith element.

Example

The following is an example of the caption attribute as it is used in the editWith element:

<xsf:editing>
   <xsf:xmlToEdit name="CD_10"
      item="/CustomUISample/CDCollection/CD" 
      container="/CustomUISample">
      <xsf:editWith caption="CD"
         autoComplete="yes"
         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>


Show: