Adding Attributes

To add an attribute to an element, do the following:
  1. Place the cursor on the element.

    Place the cursor in the element in the Editing Window or click the element in the ContentMap.

    Note: When you point the cursor over an element in the ContentMap, you can see a hint with its attributes.

  2. Call up the Element Attributes Dialog.

    To call up the Element Attributes Dialog (or move the focus to the docked Element Attributes Dialog), do one of the following:

    • Press Alt-Enter.

    • Choose Element > Element Attributes .

    • Click the Element Attributes button on the toolbar.

    • Right-click and select Element Attributes from the context menu.

    The Element Attributes Dialog will appear.

    Figure 1. Element Attributes Dialog



    Note:

    The Element Attributes Dialog is a " liquid dialog": it can have a different, docked appearance. For more information about liquid dialogs, see "Liquid" Dialog Boxes and Dialog Docking.

  3. In the Element Attributes Dialog, add an attribute:

    To add an attribute, do the following:

    1. Click the Add Attribute button .
    2. In the Name combo-box, select or type the attribute's name.
      Note:

      A list of allowed attributes is provided if validation is on.

    3. In the Value combo-box, select or type the attribute's value.
      Note:

      To insert a relative file name as the attribute's value, browse for the file using the Browse button .

    4. Press Enter.
    Note:
    The meanings of icons are as follows:
    • This attribute has a default value defined in Schema.

    • This is a required attribute.

    • Attribute has a fixed value.

    • Attribute has ID type.

    • Attribute has IDREF type.

    • Attribute has a custom type (Schema data-type).

    Note:

    You can call up help for an attribute.

  4. Close the dialog.

    To close the Element Attributes Dialog, click the Close button.

Related tasks
Changing Attribute Values
Deleting Attributes
Related information
Element Attributes Dialog