Update an attribute

You can update attributes to redefine properties of elements. Attributes provide more information about XML elements and configure component relationships in the system.

You must have Administrator permissions to work with attributes.

Tips and tricks

Understanding attribute identifiers. When you're creating an attribute, you can configure it to be one of the following types:

  • A component Identifier. This type of attribute holds a string of numbers and characters to uniquely identify a component. By default the ID is created based on the schema standards and in one of the following formats:
    • DITA: id
    • Docbook: xml:id
  • A Language identifier. This type of attribute holds a language code in the form of xml:lang.

You can use these options to identify if an attribute is a component identifier and a language identifier. Keep the following rules in mind:

  • It is not possible for an attribute to be a component identifier and a language identifier.
  • It is not possible for multiple attributes to be component identifiers.
  • It is not possible for multiple attributes to be a language identifier.
  • There must be at least one component identifier.
  • Language identifier is not required.

To update an attribute:

  1. From the Administration menu, select Advanced Settings, and then Attribute Management.
  2. On the Attribute Management tab, select the attribute you want to update.
  3. At the end of the attribute's row, click Update.

    Result: The Update attribute screen opens.

  4. After an attribute is created, you cannot change the Name. You can create a friendly Display Name or delete the attribute.
  5. Optionally, you can change the Display Name to be more user-friendly than the attribute Name.
  6. In Schema Standard, select the schema version that must be used to validate the attribute. For example, DITA_1.3.
  7. To specify that this attribute can be used to identify conditional text, select Profiled.
  8. If the attribute holds a string of numbers and characters to uniquely identify a component, select Identifier.

    It is not possible for an attribute to be both a component identifier and a language identifier.

  9. If the attribute holds a language code in the form of xml:lang, select Language.

    It is not possible for an attribute to be both a component identifier and a language identifier.

  10. To create the attribute, click Update.
    Results:
    • Administrators can see the updated attribute on the Attribute Management tab in the list of attributes.
    • Administrators can select the attribute from the lists on the XML Link Type Configuration screens.
    • Users can select this attribute in the Oxygen editor in the Attributes pane on the right side.
    • If you selected the Profiled option, then users can select the attribute from the lists on the Profiling Attributes screen.