DevToys icon indicating copy to clipboard operation
DevToys copied to clipboard

XPath Tester

Open Enduriel opened this issue 3 years ago • 4 comments

Is your feature request related to a problem? Please describe. The one online tool I use that this toolkit doesn't replace is an XPath tester, and it would be awesome to never have to bookmark this stuff at all.

Describe the solution you'd like A tool that would return the matches for an input xpath and xml, similar to the regex tester.

Describe alternatives you've considered The best currently available online tool (from what I could easily find) is http://xpather.com/, which seems to be an implementation of https://github.com/jpetitcolas/xpath-tester.

Additional context XPath definitely isn't as popular as the other stuff in here but I think it could be a pretty cool feature further down the line.

Enduriel avatar Jan 20 '22 12:01 Enduriel

+1, there seem to be very few good XPath testers. Bonus points if there's a mode to make it act exactly the same as System.Xml.XPath.

yoshiask avatar Jan 20 '22 17:01 yoshiask

+1 to this and I would include JsonPath as well :)

rchoffardet avatar Jan 20 '22 23:01 rchoffardet

Please add this - it's weird that it's missing...

mika76 avatar Jul 26 '24 11:07 mika76

I created a simple XPathTester plugin that executes XDocument.XPathEvaluate() and outputs the result. This is sufficient for simple tasks.

It has published on nugets as “tesuri.DevToys.XPathTester.”

tesurijp avatar Aug 22 '24 15:08 tesurijp