views:

3728

answers:

4

What are the best XPath 2.0 Expression Evaluator for Eclipse?

Any other standalone that is worth saying?

A: 

Any other standalone that is worth saying?

Look up the XPath Visualizer -- has versions for IE and for Mozilla/Firefox

Dimitre Novatchev
YMMV, but per Google intercept warning: "What is the current listing status for topxml.com? Site is listed as suspicious - visiting this web site may harm your computer. Part of this site was listed for suspicious activity 21 time(s) over the past 90 days."
joel.neely
@joel.neely This may or may not be the case. I read about a google bug that it now lists more than 80 percent of all sites as "suspicious". Could you propose a more secure site where to put useful tools?
Dimitre Novatchev
+2  A: 

I've long been a fan of XPath Developer, a plugin for Eclipse. It takes the contents of the currently focussed editor, and the you can run XPath expressions over it from the XPath view. Installation via the update site.

These are from the same folks who gave us the also excellent QuickREx.

Edit: If you are looking for an XPath 2.0 editor you may be in luck with the free .Net based SketchPath. It was recommended by Scott Hanselman.

jamesh
behind the scenes this uses Xalan which supports only XPath 1.0.plus it can't handle XPath's variables.
Lucas -luky- N.
A: 

The XML editor Oxygen can be used as an Eclipse plugin. I've only used it in stand-alone mode, but its XPath editor/evaluator is very good.

James Sulak
+3  A: 

SketchPath is a standalone .Net based GUI XPath 1.0/2.0 evaluator, using Saxon for 2.0 evaluation.

You could easily configure Eclipse to launch SketchPath as an External Tool. From the External Tools menu, put the full path to SketchPath.exe in the 'location' field and use the following in the 'arguments' field:

/f ${workspace_loc}/${resource_path}

pgfearo