The _SELECT
element is used to extract a single selectable attribute from an object or relationship, and insert the value of the attribute into the document metadata.
Attribute | Description |
---|---|
attr_name
|
The name of the attribute to retrieve. |
node_name
|
The name of the metadata field to contain the attribute value. If node_name is not specified, the escaped form of the attribute name is used. |
The following XML can be used in the DocumentsXML
file:
<DOCUMENT ...> <selectables> <_SELECT node_name="descr" attr_name="description"/> </selectables> </DOCUMENT>
Result
The following XML is created in the indexed document:
<selectables> <descr>something</descr> </selectables>
|