When you’re working with XML and XPath you always want to test your xpath expression prior to wire it into your application-code. Of course there are a lot of editors around that support the evaluation of xpath and the best editor I’ve seen so far is Altova XMLSpy. But unfortunatly this is also quite expensive.
Looking around for an opensource alternative is not as easy as it might seem. Most editors just focus on editing XML, but not evaluating xpath expressions. But then I stumbeld across XML CopyEditor.