Create an attribute
You can add attributes to provide more information about XML elements and configure component relationships in the system.
You must have Administrator permissions to manage 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 uses 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 create an attribute: