A while back, I made some changes to the Visual XPath tool but didn't get any time to upload it. Now, you can find the tool's description on it's own page and ofcourse you can also download it from here.
To revise the purpose of this tool, here is a little description.
“Visual XPath is a graphical way of generating XPath query results. It can also be used to generate XPath queries dynamically by select XML nodes shown in the form of Tree. You can also generate queries for individual attributes.“
Although that is just a basic description but you would find much more in the utility.
Changes made in this version:
- Support for Verbose output (in addition to abbreviated output)
- Open file from Command Line
- Drag/Drop Xml files from Windows Explorer
- Support for group queries in context menu
- Show queries in the XPath Query Textbox instead of statusbar. Therefore the "Use Selected XPath" button is disabled because of the above feature.
And now you can also integrate with VS.NET by the following steps:
Step 1: Add to the External Tools
Goto Tools->External Tools
Add Visual XPath: Put $(ItemPath) in the Arguments text box
Step 2: Map a shortcut key to this external tool
Press the Keyboard button and then write "Tools.ExternalCommand(n)" in the Show command containing text box, where n is the sequence of the Visual XPath tool. You can get this number by selecting the Tools window and counting the external tools upto Visual XPath.
The assign some shortcut key for this tools. I preferred Ctrl+Shirt+X, which is also available to use.