At eLife we naturally have a lot of XML. Often we want to run quick queries over our XML to extract a short report, or to check for errors in the XML. We have found Xquery used via basex to be useful for some of these tasks. This repo contains some example Xquery scripts.
We run these scripts over our XML corpus. You can access a copy of our XML corpus from the github repo elife-articles.
These examples assume that you have a set of eLife xml articles in an elife-articles
subdirectory of
directory that the examples are contained in.
basex
syntax highlighting in Atom for Xquery
basex recepies
basex examples
JsonIQ