XPath Explorer
Not so long time ago I came across this small utility called XPath Explorer (XPE). It is Swing based Java application allowing you to create XPath queries by simply clicking on XML elements you want to get from an example file. Or you can paste your XPatch query and see all nodes returned by that query. They also provide something they call Eclipse plugin. It actually adds an action to one of your toolbars, which allows you to run the XPE from Eclipse but it will still start the XPE in separate (Swing) window, so don't expect any better form of integration. This tool is a great help for everybody who doesn't remember the XPath syntax and has to use XPath expressions once in a while. Give it a try or just remember that it exists and download it when you need it.

XPath Explorer

XPath Explorer

