To configure the XPath options, open the
Preferences dialog box and go to .
Oxygen XML Editor allows you to customize
the following options:
- Unescape XPath expression - the entities of an XPath expressions
that you type in the XPath/XQuery Builder and the
XPath toolbar
are unescaped during their execution. For example the expression
//varlistentry[starts-with(@os,'s')]
is equivalent
with://varlistentry[starts-with(@os,'s')]
- Multiple XPath results - enable
this option to display the results of an XPath in separate tabs in the The Results View.
- No namespace - if you enable this option, Oxygen XML Editor
considers unprefixed element names of the evaluated XPath 2.0 / 3.0 expressions as belonging
to no namespace.
- Use the default namespace from the root element - if you enable
this option, Oxygen XML Editor considers unprefixed element names of the evaluated
XPath expressions as belonging to the default namespace declared on the root element of the
XML document you are querying.
- Use the namespace of the root - if you enable this option, Oxygen XML Editor considers unprefixed element names of the evaluated XPath expressions
as belonging to the same namespace as the root element of the XML document you are
querying.
- This namespace - in this field you can enter the namespace of the
unprefixed elements.
- Default prefix-namespace mappings - in this field you can associate
prefixes with namespaces. Use these mappings when you want to define them globally, not for
each document.