XPath watch view

Shows XPath expressions to be evaluated during debugging. Expressions are evaluated dynamically as the processor changes its source context.

 

Figure 12.6. The XPath watch view

The XPath watch view

 

Table 12.1. XWatch details

ColumnDescription
ExpressionXPath expression to be evaluated (should be XPath 1.0 or 2.0 compliant).
ValueResult of XPath expression evaluation. Value has a type (see Possible Values in the section the section called “Variables View”). For Node Set results the number of nodes in the set is shown in parenthesis.

[Important]Remarks
  • 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 during sessions).

  • To insert a new expression click the last line on the expression column and enter it or right click and select the Add action. Press enter on cell to add and evaluate.

  • To delete an expression click on its Expression column and delete its content or right click and select the Remove action. Press enter on 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).

  • Copy, Add, Remove and Remove All actions are offered in every row's contextual menu.