The XPath preferences panel is opened from menu .
The XPath options are the following:
- Unescape XPath expression - When checked, the entities are
unescaped in the XPath expressions entered in the XPath toolbar. For example the expression
//varlistentry[starts-with(@os,'s')]
is equivalent
with://varlistentry[starts-with(@os,'s')]
- Multiple XPath results - If checked,
results of different XPath expressions executed on the same file are displayed in separate
result set tabs.
- No namespace - If checked,
Oxygen XML Developer
will consider unprefixed
element names in XPath 2.0 expressions evaluated in the XPath
console as belonging to no namespace.
- Use the default namespace from the root element - If checked,
Oxygen XML Developer
will consider unprefixed
element names in XPath expressions evaluated in the XPath
console as belonging to the default namespace declared on the root element of the
queried XML document.
- Use the namespace of the root - If checked,
Oxygen XML Developer
will consider unprefixed
element names in XPath expressions evaluated in the XPath
console as belonging to the same namespace as the root element of the
document.
- This namespace - The user has the possibility to enter here the
namespace of the unprefixed elements used in the XPath
console.
- Default prefix-namespace mappings - Associates prefixes to
namespaces. These mappings are useful when applying an XPath in the XPath console and you
don't want to define these mappings in each document separately.