Interactive Xpath Expression Builder

December 17, 2004

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
6 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 1:42 AM

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 9:00 AM

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

Marc on October 18, 2007 12:24 PM

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 1:07 PM

It looks very strange in google chrome! (It's not supposed to work on Chrome?)

Dave on March 1, 2009 10:17 AM

Does not seem to work with IE 7. I was using the link to version 4.0.
http://eliteprom.ru

Zhorik on May 14, 2009 1:38 PM

The comments to this entry are closed.