This view shows XPath expressions to be evaluated during debugging. Expressions are evaluated
dynamically as the processor changes its source context.
When the XPath expression is typed in the Expression column the usual
content completion assistant is activated and supports the process of composing the expression just like in the XSLT
editor.
The XPath watch view
Table 1. XWatch columns
Column |
Description |
Expression |
XPath expression to be evaluated (should be XPath 1.0 or 2.0 compliant). |
Value |
Result of XPath expression evaluation. Value has a type (see the possible
values in the section Variables View). For Node Set
results the number of nodes in the set is shown in parenthesis. |
Important: Remarks about working with the XWatch view:
- Expressions referring to variables names are not evaluated. In case of an XPath error,
you get an Error line.
- The expression list is not deleted at the end of transformation (it is preserved between
debugging sessions).
- To insert a new expression click the last line on the expression column and enter it. As
alternative right click and select the Add action. Press
(Enter) on the cell to add and
evaluate.
- To delete an expression click on its Expression column and delete
its content. As alternative right click and select the Remove
action. Press (Enter) on the cell to commit
changes.
- If the expression result type is a Node Set you can click on it
(Value column) and you will see on the right side its value. (see
Nodeset view).
- The Copy, Add,
Remove and Remove All actions are offered
in every row's contextual menu.