xigt / xigt

eXtensible Interlinear Glossed Text
http://depts.washington.edu/uwcl/xigt
MIT License
31 stars 9 forks source link

XPath-like query language for Xigt data #33

Closed goodmami closed 8 years ago

goodmami commented 9 years ago

XPath itself works on the XigtXML, but it doesn't resolve references, nor does it work for potential non-XML serializations of Xigt data. We need functionality like this:

So far this is the same as XPath (except for the value() function). But resolving expressions will require a new axis specifier or two (or more). These are only tentative:

goodmami commented 9 years ago

Update: referents and referrers are no longer axes, but functions (node tests). This is a little more verbose, but is better in that we can make XQuery functions that do the same thing (so the resulting XPaths would look about the same).

EDIT: additional axes like /following-sibling::node have been moved to issue #42