You can search XML attribute text in one of two ways:
Create attribute sections with CTX_DDL
.ADD_ATTR_SECTION
and then index with XML_SECTION_GROUP
. If you use AUTO_SECTION_GROUP
when you index, attribute sections are created automatically. You can query attribute sections with the WITHIN
operator.
Searching Attributes with the INPATH Operator
Index with the PATH_SECTION_GROUP
and query attribute text with the INPATH
operator.