The XQuery window can also be used to evaluate XPath 2.0 expressions, if the XQuery engine of the current adapter supports it.
Select the XML file in the "Select XML Context" section. The file can be either the current buffer or selected from the file system with the "Select Context source from file" button and dialog.
Select Use Pane in the "Select XQuery Input" section. Enter your XPath 2.0 expression into the text area beneath "Use Pane".
Use the "Evaluate XQuery" button, to evaluate the the expression against the chosen XML file. What kind of output you will get and where it will be displayed, depends on the options you set in the XQuery options pane (for more information see chapter Setting the options.