Open topic with navigation

# _SELECTS

The `_SELECTS` element is used to extract selectable attributes of an object or relationship, and insert the values of the attributes into the document metadata. The attributes to select are specified by populating the element with a comma separated list of attribute names (see Example).

Attribute | Description
--- | ---
`node_name` | The name of the metadata field to contain the attribute values. If `node_name` is not specified, the escaped form of the attribute names are used. `node_name` only adds structure to the metadata and does not affect the metadata itself. When `name_attr` is specified, `node_name` instead specifies the field name to be generated for each selectable attribute. No parent field is generated in this case. The selectable attribute name is stored as a field attribute value and not as the field name. If `node_name` is not specified, but `name_attr` is specified, the default field name `select` is used.
`name_attr` | The name of the XML metadata attribute to contain the selected attribute name.

## Example

The following XML can be used in the `DocumentsXML` file:

    <DOCUMENT ...>
       <selectables>
          <_SELECTS node_name="select" name_attr="name"/>id,description</SELECTS>
       </selectables>
    </DOCUMENT>

Result

The following XML is created in the indexed document:

    <selectables>
       <select name="id">14.70.369.258</select>
       <select name="description">something</select>
    </selectables>

© 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