Pathology is a thoroughly Mac-native XPath debugger and visualizer written entirely in Cocoa. Pathology includes the innovative ability to debug your XPath queries by proceeding through them step-by-step.
* A full-featured XPath text editor with syntax highlighting, and code auto-completion.
* Several syntax highlighting themes to choose from (in Preferences).
* Check 'Debug' to slowly proceed through the XPath expression step-by-step, seeing the filtered result nodes each step of the way.
* An interactive console with click-able error messages that lead you right to the syntax or runtime errors in your XPath or source XML.
* Each Pathology window is a ".pathology" document that can be edited, saved and re-opened later.
* A query results table contains details on the selected nodes or items. Clicking on a row focuses the corresponding node in the source XML text.
* Query result nodes are also highlighted conspicuously in the source XML text.
* Pathology's XPath engine is powered by Panthro, an open-source implementation of XPath written in Objective-C that includes the ability to debug the evaluation of an XPath expression step-by-step.
As a Mac developer learning XPath, Pathology is the single-window, graphical XPath visualizer with Mac-native text editing, code completion and tab triggers that I've always wished I had.
– Improved Stability.
Ratings and Reviews
Exactly what i needed
I use Xpath to write override files for giant xml documents. On first use it already showed me that I was doing things I didn't want to be doing!
Opens xml files!
1. Can open xml files
2. Stepping through your xpath expression is pretty neat
3. Comes with nice syntax highlighting (multiple themes, customizable)
4. Supports custom namespace prefixing
5. The interactive console is nifty
6. Has a free trial (albeit with limited features)
1. The xml pane doesn't autoscroll to the first match when you run
2. Can't edit your xml file (you can save your workspace, but not the xml file)
3. Doesn't auto-update xml file if edited in a different program
The feature list mentions auto-complete, but it isn't immediately clear to me what is auto-completable, nor how to trigger it. I tried ctrl-spacing around the xml and xpath windows and didn't get anywhere.
With Family Sharing set up, up to six family members can use this app.