Open topic with navigation

# _ATTRIBUTE

The `_ATTRIBUTE` element is used to retrieve a single attribute from the object or relationship that is being retrieved from the Enovia repository, and insert the value of this attribute into the document metadata.

Attribute | Description
--- | ---
`attr_name` | The name of the attribute to retrieve.
`node_name` | The name of the metadata field that is created to store the attribute value. If `node_name` is not specified, the attribute name is used. Illegal XML characters in element names are replaced with underscore characters.
Other attributes | Other attributes are ignored.

## Example

    <DOCUMENT ...>
       <attributes>
          <_ATTR attr_name="attr 1" node_name="first_attribute"/>
          <_ATTR attr_name="attr 2"/>
       </attributes>
    </DOCUMENT>

Result

    <attributes>
       <first_attribute>[attr 1 value]</first_attribute>
       <attr_2>[attr 2 value]</attr_2>
    </attributes>

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm