Skip to content

Instantly share code, notes, and snippets.

@lmmx
Created November 6, 2013 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lmmx/7329377 to your computer and use it in GitHub Desktop.
Save lmmx/7329377 to your computer and use it in GitHub Desktop.
complete XQuery program to extract all the author elements from all xml files in the current directory (e.g. using Saxon)
for $p in collection("*.xml")/article/metadata return $author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment