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 attributes: To learn more about what an attribute is and why you use them, read Attribute FAQs.
- If the attribute doesn't exist yet, follow the steps in Create an attribute.
- Profiled: If you only want to update an attribute so it can be used for profiling, follow the steps in: Allow an attribute to be used for profiling.
- Identifier: If you want to change an attribute be a content identifier of the schema standard you are using, you must make sure it is the only one. Follow the steps in: Create an attribute to be a component identifier.
- Language: If you only want to change an attribute to be a content identifier of the language you're using, you must make sure it is the only one. Follow the steps in: Create a language identifier attribute.
- Protected: If you only want to update an attribute to prevent an author from updating or deleting it in the Oxygen editor, follow the steps in: Work with protected attributes.
Rules for component and language identifiers:
- There must be only one attribute that is the DITA component identifier.
- Inspire provides one for DITA (
<id>
). - If you want to create your own component identifier attribute for DITA, you must update the default attribute to clear the Identifier option.
- Inspire provides one for DITA (
- There must be only one attribute that is the DocBook component identifier.
- Inspire provides one for DocBook (
<xml:id>
). - If you want to create your own component identifier attribute for DocBook, you must update the default attribute to clear the Identifier option.
- Inspire provides one for DocBook (
- There must be only one attribute that is the DITA language identifier.
- Inspire provides one for DITA (
<xml:lang>
). - If you want to create your own language identifier attribute for DITA, you must update the default attribute to clear the Language option.
- Inspire provides one for DITA (
- It is not possible for an attribute to be both a language identifier and a component identifier at the same time.
To update an attribute: