By Celestial Teapot Software
Open the Mac App Store to buy and download apps.
AquaPath is a Developer Tool that allows you to evaluate XPath 2.0 expressions against any XML document and view the result sequence in a dynamic, intuitive tree representation.
Using AquaPath is simple. Paste the contents of an existing XML document or even author an XML document using AquaPath itself (AquaPath is also a rudimentary text editor). The source text of your XML document appears under the "Source" tab in an AquaPath document window. Use this tab to author or edit your document.
Next, type an XPath expression into the "XPath" text field at the top of the AquaPath document window. Click "Evaluate" to see the matching node sequence. You will see a status bar message just below the XPath text field showing either the number of nodes in the result sequence or and error message if your XML document is not well-formed or if your XPath expression is invalid.
Under the "String-Value" tab, you'll find a text area containing the string value of the result sequence. The whitespace of each node has been compressed so that you will see a single node's string value per line. This tab's contents are convenient for copy-pasting the results to another app.
The "Display" tab is where all the magic happens. Here you will see a dynamic (DHTML), syntax-colored representation of your XML document with "-" or "+" signs next to each element node. Use these symbols for collapsing and expanding a given element and its children. Also, all nodes and text matching your XPath expression will be highlighted in yellow.
By default, the "Context Node" of your XPath query is the XML "root node". AquaPath allows you to specify a specific context node for your XPath expression in two ways:
1. Enter the desired path in the Context Node text field manually
2. Right-click an existing node in a previous "Display" document tree, and select "Set as Content Node".
Ignore all reviews that are less than 5 stars!
I saw all those negative reviews of not being able to open XML files and thought to myself: it's a risk but I'm gonna take it anyway. I downloaded it and it couldn't open XML!!! So I thought, cr*p, I just spent money on something that I can't use and I should've listened.
I sent Todd, the awesome developer of this wonderful app, an email; meanwhile I tried to figure out how to use it. It turned out that you have to copy and paste the XML in so it can save it as an .aquapath file, which the app can open. Having solved my problem and thinking that I will not likely to get a reply from Todd, I just moved on to the next thing on my to-do. But no! Todd actually replied within hours!
Aside from this subtlety, everything works in perfect harmony. Buy this app if you need it. It works.
Kinda sorta useful
Yes, it does show the results of my XPath queries, but all it really does for me is highlight the matching entries which in a big document is not very useful. Honestly I could just run XPath on the command line and get more useful output, so why did I pay for this? So it's a good start, but needs better viewing features.
What would make this a killer app for XPath, IMO, is some combination of the following, in order of importance:
* At the least, a left-hand "match here" highlight as is done in any modern browser, that allows the user to see the location matches across the length of the document by looking at the scroll bar
* As a better option, a "results" overview panel (maybe across the bottom) when executing a query, which can show the matching elements in real time and jump to them by clicking, and more importantly, save the results to an output file!
* Direct opening of XML files from the File menu
* Opening multiple files in/below a directory (e.g. a whole source tree with lots of XML's, which I frequently need)
* A "find/find next" option inside of or instead of the "results" panel, especially when opening multiple files
If the above were implemented, not only would this app be much more useful, but I'd be willing to pay more for it, too!
Good XPath evaluator
This app is quite simple and focused, and it works well for evaluating XPath expressions against XML. It's great for extracting information from a document without having to use XSLT, or just to navigate through a document.
However, I can't give it more stars due to one annoying problem: you can't just open an XML document, you have to paste the contents into the "source" tab. PLEASE change it so there is an option to open and save as XML, rather than opening or saving as an Aqua Path document. Thanks for making it and I look forward to updates.
- Category: Developer Tools
- Released: Mar 20, 2011
- Version: 1.0
- Size: 0.6 MB
- Language: English
- Seller: Todd Ditchendorf
- © 2011 Celestial Teapot Software
Compatibility: OS X 10.6 or later