Created
August 16, 2016 18:49
-
-
Save davidamichelson/93b366f70b7630bbceac2d3900c29193 to your computer and use it in GitHub Desktop.
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
let $list := ("http://syriaca.org/person/1631", "http://syriaca.org/person/1442") | |
for $item in $list | |
let $uri := $item | |
return | |
for $idno in fn:collection('/db/apps/srophe-data/data/persons/tei')//tei:person/tei:idno[1]/text()[.=$uri] | |
let $name := $idno/preceding-sibling::tei:persName[xml:lang="en"][contains(@syriaca-tags,"#syriaca-headword")] | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment