Defining Namespace Prefixes Used in Path Range Indexes and Fields
- Last Updated: April 14, 2026
- 1 minute read
- MarkLogic Server
- Version 10.0
- Documentation
When you define a path range index over XML documents and your path uses namespace prefixes, you must pre-define any namespace bindings used in the path expression. These namespace bindings can be used by multiple path range indexes.
To define a namespace binding, follow these steps:
-
Click the Databases icon on the left tree menu.
-
Locate the database for which you want to create a namespace prefix binding, either in the tree menu or in the Database Summary table.
-
Click the name of the database for which you want to create a namespace binding.
-
Click the Path Namespaces icon in the tree menu, under the selected database.
-
Click the Add tab. The Path Namespaces Configuration page appears.
-
In the Prefix field, enter the namespace prefix you intend to use for the element or attribute in the XPath expression in your path range index.
-
In the Namespace URI field, enter the namespace URI of the XML element or attribute in the XPath expression.
-
Click OK.