The XPath-Watch Window is available in XSLT and XQuery debugging sessions.
It enables you to enter XPath expressions that you wish to evaluate in one or more contexts. As you step through the XSLT document, the XPath expression is evaluated in the current context and the result is displayed in the Value column.
To enter an XPath expression, double-click in the text field under the Name column and enter the XPath. Alternatively, drag an XPath expression from a file and drop it into the XPath-Watch Window. Use expressions that are correct according to the XPath version that corresponds to the XSLT version of the XSLT stylesheet (XPath 1.0 for XSLT 1.0, XPath 2.0 for XSLT 2.0, and XPath 3.0 for XSLT 3.0).
|Note:||If namespaces have been used in the XML file or XSLT file, you must use the correct namespace prefixes in your XPath expressions.|