Guest User

Untitled

a guest
Jan 18th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  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>
Add Comment
Please, Sign In to add comment