tags:

views:

555

answers:

7

I am looking for a XML tool which does the following things.

  1. Allows me to enter xpath expressions and highlights the nodes selected
  2. Assists me in creating complex xpath expressions.

What are other people using out there?

I've used something from source forge but it only selects one matched node.

+1  A: 

Visual XPath here: http://weblogs.asp.net/nleghari/pages/visualxpath.aspx will at least give you part of what you're looking for.

And it's free, comes with source ...

Marc

marc_s
Sounds great, but i can only find the source. Do i have to compile it to get it to work? Is there a binary i can just download it?
JavaRocky
The /bin/debug subfolder in the ZIP contains the EXE and the support DLL needed.
marc_s
A: 
Mork0075
Sooo expensive. How can i afford this!
JavaRocky
+5  A: 

SketchPath has various features here...

SketchPath

Marc Gravell
Looks like an excellent tool. The youtube video demonstrates exactly what i need. I went to the site, downloaded it, and ran it. Guess what.. I got a lovely error "Failed to initialize application".. WHat a tease. Any way i can fix this?
JavaRocky
hmmm... I don't know why it didn't work. A question for the author, I expect. Is there a "contact me/us" link?
Marc Gravell
I got it working after all. Best xpath visualiser i've so far! Quite impressive!
JavaRocky
Can't believe it's free. So good.
JavaRocky
I'm really glad you got it working.
Marc Gravell
I got the latest version 2.3.3.1_P. Tried to open a 5 MB xml file on it. It just hung and was unresponsive. Tried twice... then uninstalled.
Gishu
Link to SketchPath screenshot is broken because website had to be moved. If anyone with edit privileges wants to correct this, an alternative screenshot is at: http://qutoric.com/sketchpath//sketchpath-s.png
pgfearo
A: 

Cooktop - free, not developed anymore, but it does its job.

A quick review from Gadgetopia: XML Cooktop

alexandrul
Tried cooktop 2.500. It went down with a simple attribute based xpath. ERROR: Required white space was missing. (Verified query with Visual XPath. )
Gishu
@Gishu can you upload somewhere the XML file, the desired query, and the expected results?
alexandrul
+2  A: 
Colin
A: 

The XPath Visualizer has been available for almost 9 years and has helped thousands of people learn XPath the fun way. Available for IE and for FireFox.

The XPath Visualizer is a popular tool for learning XPath by playing with XPath expressions. Free and open source.

Allows any XPath expression to be evaluated against a given XML document and displayes the results hi-lighted in the xml document (if they are node(s)) or in a separate box (if the results are atomic values).

Allows xsl:variable-s to be defined and then used in XPath expressions.

Allows xsl:key-s to be defined and then referenced by key() functions within XPath expressions.

Dimitre Novatchev
+1  A: 

Re: The issue you have with SketchPath "Failed to Initialize Application..."

Its hard to be certain without further detail, but the issue you're experiencing is most likely related to security permissions of the logon account you are using. SketchPath is a .NET 2.0 application requiring "Full Trust" ClickOnce permissions.

I'm the developer of SketchPath, so if you need any further help please contact me at [email protected]

Finally, I'm bound to recommend SketchPath, but each tool recommended here will have its own strengths, so the choice will be down to your specific needs and constraints.

pgfearo
You are a ledgend. It's working now, on another computer. Have not had time to figure out why it did not work previously. It's a great tool! Thank you so much for giving it away for free!
JavaRocky