The all_xmlattrs index parameter
Use the all_xmlattrs parameter to search on XML attributes in a document repository stored in a column of a table. This parameter enables searches on all attributes that are contained in the XML tags or paths in a column that contains an XML document.
Specify an attribute using the syntax @attrname
,
where attrname
is the name of the attribute.
All the XML attributes are indexed as fields in the bts index. If you use the xmlpath_processing parameter, full paths are indexed. The text value within fields can be searched. The tags of XML tags are not indexed in a field unless you use the all_xmltags index parameter.
To view the fields that you have indexed, use the bts_index_fields() function. See bts_index_fields() function.