Skip to content

Instantly share code, notes, and snippets.

@lmmx
Created November 6, 2013 01:26
Show Gist options
  • 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