Created
July 19, 2016 20:20
-
-
Save CJHArch/4c6fd503cdfeb45671565942e7b990ff to your computer and use it in GitHub Desktop.
This will pull the identifiers and partners from EADs containing a dao (i.e. allowing a count of finding aids that link to digital material)
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
<data> | |
{ | |
for $Record in /ead[archdesc/dsc/descendant::dao] | |
let $id := $Record/archdesc/did/unitid | |
let $repo := $Record/archdesc/did/repository | |
let $address := $Record/eadheader/filedesc/publicationstmt/address/addressline[1] | |
return | |
<record> | |
<id>{$id}</id> | |
<repo>{data($repo)}</repo> | |
<address>{data($address)}</address> | |
</record> | |
} | |
</data> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment