The include_namespaces index parameter

Use the include_namespaces parameter to index XML tags that include namespaces in the qualified namespace format prefix:localpart. For example:

<book:title></book:title>

The include_namespaces parameter must be used with either the xmltags parameter specified or with the all_xmltags parameter enabled.

When you enable the include_namespaces parameter and the data includes the namespace in the indexed tags, you must use the namespace prefix in your queries and escape each colon (:) with a backslash (\).

For example, to search for the text Smith, in the field customer:name:, use the format:

bts_contains("/customer\:name:Smith")

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