SHARE
TWEET

Untitled

a guest Jan 18th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <data>
  2. {
  3. for $Record in /ead
  4.  
  5. where $Record//dsc//did[(not(unittitle) and not(unitdate))]
  6.  
  7. let $id := $Record/archdesc/did/unitid[@type='clio']/text()
  8. let $repo := $Record/archdesc/did/unitid[1]/@repositorycode
  9. let $didNoTitleDate := $Record/archdesc/dsc//did[(not(unittitle) and not(unitdate))]
  10. return
  11.  
  12. <record>
  13.  <id>{$id}</id>
  14.  <repo>{data($repo)}</repo>
  15.  <u>{$didNoTitleDate}</u>
  16. </record>
  17.  
  18. }
  19. </data>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top