You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let $uuid := 'c3a12a74-341f-11ed-a261-0242ac120002'(: option: call unparsed-text(doc('https://www.uuidgenerator.net/api/version1')) :)
10
+
let $projectname := 'QhoD project'
11
+
12
+
(: fallback if the Oxygen Scenario does not include a value for $pdu as a parameter :)
13
+
let $pdu := '/home/skurz/Dokumente/git/qhod-data/TEI'
14
+
let $docs := collection(concat($pdu, "?select=*.xml;recurse=yes"))
15
+
let $letterlike := $docs[//tei:correspAction]//tei:teiHeader
16
+
17
+
(:
18
+
Quick XQuery to get all correspDesc elements of the QhoD project into a CMIF file according to the example files at https://github.com/TEI-Correspondence-SIG/CMIF/tree/main/examples
19
+
The actual loop fetching //correspAction starts in line 54
20
+
21
+
Output might need some XSL postprocessing in order to validate against the strict CMIF schema.
0 commit comments