cefn / allyourx

Ally is a client-side javascript validating xml editor based on the allyourx.org rich data authoring standard
http://allyourx.org
GNU General Public License v3.0
1 stars 0 forks source link

Query Language #7

Open cefn opened 14 years ago

cefn commented 14 years ago

At present there's no established query language for a ThingyTree, apart from JSON.

Perhaps a ThingyTracker could keep an XML DOM in synchrony with the ThingyTree, and then XPath could be used to identify sets of actual DOM elements and a mapping maintained between the two. This means XPath doesn't have to be reinvented. It also provides a convenient serialisation strategy for ThingyTrees.