@@ -233,11 +248,14 @@ declare function etTransfo:transform-tei($tei as element(tei:TEI), $log as xs:st
(:~
: Assembles the intermediate format version of each notebook and copies them into one file called "fontane-full.xml".
: Assembles the intermediate format version of each notebook and copies it into one file.
: Furthermore, additional data needed for the print is appended.
:
: The resulting file is mainly needed for serializing the print.
: Attention: In case you change the file name, update the PERL script in the print repo as well.
:
: @author Michelle Weidling
: @return A string indicating the location where the full TEI/XML of the edition was stored to.
: @return A string indicating the location where the full TEI/XML of the edition was stored to, i.e. "/db/sade-projects/textgrid/data/xml/print/xml/fontane-full.xml"
:)
declare function etTransfo:create-print-tei() as xs:string {
let $xmls := etTransfo:get-all-xmls()
...
...
@@ -248,30 +266,31 @@ declare function etTransfo:create-print-tei() as xs:string {
try {
etTransfo:get-literature()
} catch * {
etTransfo:add-log-entry($log, "ETTRANSFO06: An error occured while creating the bibliography.")
etTransfo:add-log-entry($log, "ETTRANSFO06: An error occurred while creating the bibliography.")
},
try {
abbrev-index:main()
} catch * {
etTransfo:add-log-entry($log, "ETTRANSFO07: An error occured while creating the index of abbreviations.")
etTransfo:add-log-entry($log, "ETTRANSFO07: An error occurred while creating the index of abbreviations.")
},
try {
etTransfo:create-overall-toc()
} catch * {
etTransfo:add-log-entry($log, "ETTRANSFO10: An error occured while creating the overall TOC..")
etTransfo:add-log-entry($log, "ETTRANSFO10: An error occurred while creating the overall TOC..")