Click here to Skip to main content
6,595,854 members and growing! (17,753 online)
Email Password   helpLost your password?
Platforms, Frameworks & Libraries » .NET Framework » Applications     Intermediate

Debugging XPath Queries

By goerge@Mailinator.com

An application to visualize XPath Queries
C#.NET 1.0, Win2K, WinXP, Win2003, Dev
Posted:1 Dec 2003
Views:63,349
Bookmarked:26 times
Announcements
Loading...
 
Search    
Advanced Search
Add to IE Search
printPrint   add Share
      Discuss Discuss   Broken Article?Report  
14 votes for this article.
Popularity: 3.90 Rating: 3.40 out of 5
1 vote, 7.1%
1
2 votes, 14.3%
2
3 votes, 21.4%
3
3 votes, 21.4%
4
5 votes, 35.7%
5

Sample Image - screenshot.jpg

Introduction

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$ +

License

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

goerge@Mailinator.com


Member

Location: United States United States

Other popular .NET Framework articles:

Article Top
You must Sign In to use this message board.
FAQ FAQ 
 
Noise Tolerance  Layout  Per page   
 Msgs 1 to 11 of 11 (Total in Forum: 11) (Refresh)FirstPrevNext
GeneralGenerating xpath add-on (quick and dirty) [modified] PinmemberMikeEast23:24 16 Jan '08  
Generalin VB.NET Pinmembery2kvirus13:50 22 Aug '05  
GeneralWrong topic Pinmemberalerma22:48 14 Dec '03  
GeneralGood job PinmemberBill Seddon22:21 9 Dec '03  
GeneralRe: Good job PinmemberMarc Brooks9:45 29 Jan '04  
GeneralRe: Good job PinmemberBill Seddon9:55 29 Jan '04  
AnswerRe: Good job PinmemberMarc Brooks6:59 10 Oct '06  
GeneralGood work, but... PinmemberChristoph Lederer22:19 9 Dec '03  
GeneralRe: Good work, but... PinmemberEdneeis19:59 3 Feb '04  
GeneralGraphical XPath Queries Pinmemberchetmurphy19:37 9 Dec '03  
GeneralRe: Graphical XPath Queries PinmemberMarc Brooks9:48 29 Jan '04  

General General    News News    Question Question    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

PermaLink | Privacy | Terms of Use
Last Updated: 1 Dec 2003
Editor: Nishant Sivakumar
Copyright 2003 by goerge@Mailinator.com
Everything else Copyright © CodeProject, 1999-2009
Web16 | Advertise on the Code Project