Click here to Skip to main content
13,201,763 members (75,129 online)
Click here to Skip to main content
Add your own
alternative version


29 bookmarked
Posted 1 Dec 2003

Debugging XPath Queries

, 1 Dec 2003
Rate this:
Please Sign up or sign in to vote.
An application to visualize XPath Queries

Sample Image - screenshot.jpg


This is a small application I wrote when I was stuck in front of an XPath query that I just couldn't understand. Took about an hour and a half to whip it up. The idea is to let you execute a query and see for yourself the results that are returned.

There are other tools that does it, but either they are Java based and require > 15 Mb support libraries or they are web based (which I hate).

The Code

The application gets its input from one of two sources - a file or the clipboard, loads it into an XmlDocument and start executing queries against it, showing you the result on the way.

I didn't built it to be performant or correct, just to do the job, so use it the next time you've XPath problems, and you'll like it. The other solution that I found was XmlSpy at 300$ +


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author
United States United States
Hi, Been a member since 2003. Recent projects are a site about buying a car with bad credit and enjoying codeproject as usual.

You may also be interested in...

Comments and Discussions

GeneralWrong topic Pin
alerma14-Dec-03 21:48
memberalerma14-Dec-03 21:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.171020.1 | Last Updated 2 Dec 2003
Article Copyright 2003 by
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid