5,557,174 members and growing! (16,230 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#Windows, .NET, .NET 1.0, Win2K, WinXP, Win2003VS.NET2002, Visual Studio, Dev

Posted: 1 Dec 2003
Updated: 1 Dec 2003
Views: 56,721
Bookmarked: 22 times
Announcements
Want a new Job?



Search    
Advanced Search
Sitemap
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



Location: United States United States

Other popular .NET Framework articles:

Article Top
Sign Up to vote for this article
You must Sign In to use this message board.
FAQ FAQ Noise ToleranceSearch Search Messages 
 Layout  Per page   
 Msgs 1 to 11 of 11 (Total in Forum: 11) (Refresh)FirstPrevNext
Subject  Author Date 
GeneralGenerating xpath add-on (quick and dirty) [modified]memberMikeEast23:24 16 Jan '08  
Generalin VB.NETmembery2kvirus13:50 22 Aug '05  
GeneralWrong topicmemberalerma22:48 14 Dec '03  
GeneralGood jobmemberBill Seddon22:21 9 Dec '03  
GeneralRe: Good jobmemberMarc Brooks9:45 29 Jan '04  
GeneralRe: Good jobmemberBill Seddon9:55 29 Jan '04  
AnswerRe: Good jobmemberMarc Brooks6:59 10 Oct '06  
GeneralGood work, but...memberChristoph Lederer22:19 9 Dec '03  
GeneralRe: Good work, but...memberEdneeis19:59 3 Feb '04  
GeneralGraphical XPath Queriesmemberchetmurphy19:37 9 Dec '03  
GeneralRe: Graphical XPath QueriesmemberMarc 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-2008
Web09 | Advertise on the Code Project