I <3 Steve McConnell*
Coding Horror
programming and human factors
by Jeff Atwood

December 17, 2004

Interactive Xpath Expression Builder

I use Xpath queries about once a year, so of course I completely forget the syntax every time I come back to it. And each time this happens, I somehow find Aaron Skonnard's very cool web-based interactive Xpath Expression Builder, which lets you hack on Xpath with real time visual feedback as you type. It's great. Except this time I couldn't find it!

I guess there's been a bit of a shakeup; Aaron works for PluralSight now. The top google hits for the interactive Xpath expression builder on the DevelopMentor site return a glorified 404 page. According to his blog post, all the DevelopMentor samples have been moved to this confusing ServerSide.NET page. And they're now distributed as zip files, which completely ruins the immediate feedback that made the interactive XPath builder pages so useful. For convenience, I put the XPath Expression Builder pages up on this server:

Note that you'll need IE5+ and MSXML 3.0 for these to work, due to the heavy client-side scripting.

If you're forgetful like me and have no idea what to type, start with "Invoices/Invoice". MSDN has the best XPath syntax examples and reference pages.

Posted by Jeff Atwood    View blog reactions

 

« Progamming Fonts Is DoEvents Evil? »

 

Comments

I've had good success with the Zvon tutorials:

http://www.zvon.org/xxl/XPathTutorial/General/examples.html

Jeff Perrin on December 18, 2004 01:42 PM

The MSDN links have changed. The update links are:

XPath syntax examples:
http://msdn2.microsoft.com/en-us/library/ms256086.aspx

XPath Reference:
http://msdn2.microsoft.com/en-us/library/ms256115.aspx

Ken on September 6, 2007 08:00 AM

Does not seem to work with IE 7. I was using the link to version 4.0.

Marc on October 18, 2007 11:24 AM

Sorry, looks to be working fine. I did not have MSXML 4.0 installed. Also, I simply edited the default.htm file and replaced "4.0" with "6.0" and the tool appears to be working fine with MSXML 6.0.

If you are looking for a place to download the files from try "http://www.pluralsight.com/tools.aspx".

Marc on October 18, 2007 12:07 PM







(hear it spoken)


(no HTML)




Content (c) 2008 Jeff Atwood. Logo image used with permission of the author. (c) 1993 Steven C. McConnell. All Rights Reserved.