The strip_xmltags index parameter

Use the strip_xmltags parameter to add the untagged values to the contents field in the index. Attribute values are also removed.

Unlike other XML index parameters, you can use the strip_xmltags parameter in a CREATE INDEX statement without specifying the xmltags parameter or enabling the all_xmltags parameter. In this case, the contents field is created automatically.

However, if you specify the xmltags parameter or if you enable the all_xmltags parameter, you must also enable the include_contents parameter.

To view the fields that you have indexed, use the bts_index_fields() function. See bts_index_fields() function.