Share via


caption Attribute (editWith Element)

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>

Parent Objects | editWith Element