3.1. Using the attribute table

The content of the attribute table can be described as follows:

Procedure for adding an attribute or changing its value:

  1. Click on the field at the right of the attribute name. This field is editable.

  2. Type the value of the attribute.

    If the attribute type is enumerated, this field is a menu rather than a text field, so you can directly choose the value of the attribute without having to type anything.

  3. Press Enter to commit the change.

Procedure for removing an attribute:

  1. Right-click on the row of the attribute to be removed.

  2. Select the Remove item in the displayed popup menu.

    [Note]

    The "Force Removal" item is by default absent in the above popup menu. You need to explicitly enable it by checking "Enable the 'Edit|Force Deletion' menu item" in OptionsPreferences, General|Features section.

3.1.1. Reducing the number of attributes displayed by the attribute table

Clicking the “eye button” found at the right of the header of the attribute table displays a menu.

Figure 7.2. Menu when a DITA topic is opened in XXE
Menu when a DITA topic is opened in XXE

This menu allows to toggle in the attribute table the visibility of attributes belonging to certain categories. Simply uncheck a menu entry to “hide” in the attribute table all the attributes belonging to the corresponding category.

[Important]
  • Once an attribute has been specified for an element, it is displayed in the attribute table in all cases, no matter whether it belongs to a category marked as hidden.

  • Even when an available attribute has been made hidden, it's still possible to specify it using the attribute form (auto-completion fully supported there) found above the attribute table.

Configuration Families

Attribute Categories

(Hidden by default unless stated otherwise)

XHTML

Scripting

onclick, onload, onmouseenter, etc.

XHTML5
ARIA

role, aria-*.

Browser Behavior

autocapitalize, contenteditable, draggable, etc.

Microdata

itemprop, itemscope, etc.

Scripting

onclick, onload, onmouseenter, etc.

XML

xml:base, xml:lang, etc.

XSI

xsi:type, etc.

DITA

Conditional Processing

audience, platform, etc. Visible by default.

Other Metadata

importance, base.

Localization

translate, dir.

Debug

xtrc, xtrf.

DocBook v5+

Effectivity

arch, condition, etc. Visible by default.

Other Common

remap, xml:base, etc.

Linking

linkend and xlink:href[a]; xlink:actuate, xlink:arcrole, xlink:from, etc.

Scripting

onclick, ondblclick, etc. (Found on an HTML table.)

[a] Always visible when parent element is link, xref, etc



[12] This can be configured, see Section 3.1.1, “Reducing the number of attributes displayed by the attribute table” below . See also the attributeVisility configuration element in XMLmind XML Editor - Configuration and Deployment.