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 Illegal XML characters in element names are replaced with underscore characters. |
Other attributes | Other attributes are ignored. |
<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>
|