emory-libraries/findingaids

Exist DB

alexBLR opened this issue · 2 comments

For each collection, we need unit title and date.
Only from MARBL repo

declare namespace e='urn:isbn:1-931666-22-9';

for $ad in /e:ead/e:archdesc[@Level='collection']

let $title := $ad/e:did/e:unittitle/text()
let $date := $ad/e:did/e:unittitle/e:unitdate/text()
let $repository := $ad/e:did/e:repository/e:subarea/text()
where fn:contains($repository, "Stuart A. Rose Manuscript, Archives, and Rare Book Library")

return <title>{$title/string()}</title>{$date}