To open the XPath preferences panel go to .
Oxygen XML Author plugin allows you to customize
the following options:
- Unescape XPath expression - the entities of an XPath expressions
that you type in the XPath
toolbar are unescaped. For example the expression
//varlistentry[starts-with(@os,'s')]
is
equivalent
with://varlistentry[starts-with(@os,'s')]
- No namespace - if you enable this option, Oxygen XML Author plugin considers unprefixed
element names of the XPath 2.0 expressions evaluated in the
XPath toolbar as belonging to no namespace.
- Use the default namespace from the root element - if you enable
this option, Oxygen XML Author plugin considers
unprefixed element names of the XPath expressions evaluated in the XPath toolbar 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 Author plugin considers unprefixed
element names of the XPath expressions evaluated in the
XPath toolbar 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 used in the XPath toolbar.
- 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.