At the beginning of August, I designed a query language for Preserves documents inspired by XPath. Here’s the draft specification. To give just a taste of the language, here are a couple of example selectors:
1 2 3 .annotations ^ Documentation . 0 / // [.^ [= Test + = NondeterministicTest]] [. 1 rec]
So far, I’ve used Preserves Path to access portions of network packets received from the server in an implementation of the Syndicate network protocol for bash.