xml spy
Previous  Top  Next
XPath Visualizer options

43_xpath6

XPath syntax
This option group allows you to select which syntax you want to use when evaluating an XPath. When entering an XPath, the expression is constantly monitored for adherence to these syntax rules. An invalid expression automatically appears in red. As soon as the expression becomes valid the expression changes from red into black.

Allow Complete XPath:
This is the default option and checks against the complete XPath syntax.

XML Schema Selector:
This option checks the XPath against the XML Schema Selector syntax.

XML Schema Field:
This option checks the XPath against the XML Schema Field syntax.

XPath origin
This option group lets you define from where in the XML document you want to start your search. The option you select here remains active the next time you search for an XPath.

From Document Root:
This is the default option, and starts the search from the beginning of the XML document.

From Selected Element:
Select this option if you want to start your search from the currently selected element, attribute etc. in the XML document. Note that the current element position does not change if you click one of the node set results in the node set window.

Real-time evaluation
Evaluate when typing:
This is the default option, and presents results in the node set window while you are typing in the expression.

Evaluate on button click:
This option defers the XPath evaluation until you click the Evaluate button.

Node set window
This window displays the results of the evaluated XPath expression. The XPath results in this window can appear as nodes, numbers, boolean expressions, or error messages.

Previous  Top  Next

⌐ 2002 Altova