The XPath-Watch Window enables you to see how an XPath expression would evaluate in one or more contexts. As you step through the XSLT/XQuery document, the XPath expression you entered is evaluated in the current context and the result is displayed in the Value column (see screenshot below).
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/XQuery version of the XSLT/XQuery document.
|Note:||If namespaces have been used in the XML document or XSLT/XQuery document, ensure that the namespace prefixes in your XPath expression correctly target the nodes of the XML document.|