Tool to give me XPath expressions to nodes in XML document
Posted on 2010-09-16
My current work involves generating XPath expressions to find nodes in a lot of rather complex XML documents. To do this "by hand" is time-consuming and error-prone.
I am looking for a tool that could do this:
Give an XML document like this:
<?xml version="1.0" encoding="utf-8"?>
<item id ="1">
I should be able to right-click (or similar) on the <item> element, and the tool would product the right XPath-expression ("/root/items/item")
The tool needs to run on Windows, preferably freeware and without Java runtime requirements.