Created
October 4, 2017 20:40
-
-
Save zachary-johnson/d50d70540d56bfbe301fd6f925e3085e to your computer and use it in GitHub Desktop.
Xquery attempt so far
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(: This is as far as we got with the xquery command, simply trying to return the data contained in <unitdate> in a single doc for now.:) | |
xquery version "3.0"; | |
declare namespace ead="http://www.loc.gov/ead/eadschema.html"; | |
let $doc := fn:doc('aspace/HendrixNancy_MSS_206.xml') | |
let $unitdate := $doc//dsc//unitdate/text() | |
return $unitdate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment