This file contains hidden or 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
1. http://syriaca.org/person/1527/tei Zwanarse | |
2. http://syriaca.org/person/1528/tei Cyriacus | |
3. http://syriaca.org/person/1535/tei | |
4. http://syriaca.org/person/1537/tei Abdat al-Ahad | |
5. http://syriaca.org/person/1542/tei | |
6. http://syriaca.org/person/1568/tei Agrippa | |
7. http://syriaca.org/person/1570/tei | |
8. http://syriaca.org/person/1572/tei | |
9. http://syriaca.org/person/1583/tei Ananias |
This file contains hidden or 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
<bibl xml:id="ClemonsChecklist"> | |
<author>James T. Clemons</author> | |
<title xml:lang="en" level="a">A Checklist of Syriac Manuscripts in the United | |
States and Canada.</title> | |
<ptr target="http://syriaca.org/bibl/632"/> | |
<citedRange unit="pp">508</citedRange> | |
</bibl> |
This file contains hidden or 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
xquery version "3.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
for $doc in fn:collection("/db/apps/incomplete-saints")//tei:TEI | |
let $fiey := $doc//tei:bibl[matches(@xml:id, "bib\d+-2") and tei:ptr[@target="http://syriaca.org/bibl/650"]] | |
let $zanetti := $doc//tei:bibl[matches(@xml:id, "bib\d+-1") and tei:ptr[@target="http://syriaca.org/bibl/649"]] |
This file contains hidden or 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
904 | |
1339 | |
1348 | |
1436 | |
1545 | |
1739 | |
1826 | |
1858 | |
1859 | |
1938 |
This file contains hidden or 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
xquery version "3.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
declare function local:download-xml($node, $filename) { | |
response:set-header("Content-Disposition", concat("attachment; | |
filename=", $filename)) | |
, | |
response:stream( | |
$node, | |
'indent=yes' (: serialization :) |
This file contains hidden or 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
xquery version "3.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
(: for each row/record in the persnames file :) | |
for $newname in fn:doc("/db/apps/workingdocs/persnamesdone.xml")//tei:div/tei:p/tei:persName | |
let $matchid := $newname/@xml:id | |
(: for each persName xml:id in Syriaca.org person records:) | |
let $oldname := |
This file contains hidden or 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
xquery version "3.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
(: for each row/record in the zoteroid file where there is no text node for the element uritype :) | |
for $row in fn:doc("/db/apps/workingdocs/zoteroid.xml")/root/row | |
let $author := normalize-space($row/authorabbr/text()) | |
let $title := normalize-space($row/titleabbr/text()) | |
let $zoteroid := $row/zotero/text() |
This file contains hidden or 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
xquery version "3.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
for $zptr in fn:collection("/db/apps/srophe-data/data/bibl/tei")//tei:idno[@type="zotero"]/text() | |
let $uri := replace($zptr/ancestor::tei:TEI/descendant::tei:publicationStmt/descendant::tei:idno[@type="URI"][starts-with(.,'http://syriaca.org/')]/text(),'/tei','') | |
let $oldptr := | |
for $ptr in fn:collection("/db/apps/srophe-data/data/persons/tei")//tei:person/tei:bibl/tei:ptr | |
where $ptr/@target/string()[.=$zptr] |
This file contains hidden or 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
xquery version "3.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
declare function local:download-xml($node, $filename) { | |
response:set-header("Content-Disposition", concat("attachment; | |
filename=", $filename)) | |
, | |
response:stream( | |
$node, | |
'indent=yes' (: serialization :) |
This file contains hidden or 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
xquery version "3.0"; | |
declare namespace tei = "http://www.tei-c.org/ns/1.0"; | |
declare function local:download-xml($node, $filename) { | |
response:set-header("Content-Disposition", concat("attachment; | |
filename=", $filename)) | |
, | |
response:stream( | |
$node, |