Commit 8489b41d authored by MRodz's avatar MRodz Committed by mrodzis
Browse files

Change filename

parent 3341fb69
......@@ -37,16 +37,7 @@ declare function tidySimple:main($tei as node()*) {
(: let $text-with-sections := tidySimple:make-structure($clear-surplus-hands):)
let $header := $tei/tei:teiHeader
return
xmldb:store("/db/apps/SADE/resources/xml/", "tei-simple-tmp.xml", <TEI xmlns="http://www.tei-c.org/ns/1.0">{$header}{$tidy}</TEI>)
(: let $doc := doc($config:app-root || "/resources/xml/tei-simple-tmp.xml"):)
(: let $tidied-text := tidySimple:tidy($doc//tei:text):)
(: let $final-tei:=:)
(: <TEI xmlns="http://www.tei-c.org/ns/1.0">:)
(: {$tei//tei:teiHeader}:)
(: {$tidied-text}:)
(: </TEI>:)
(::)
(: return xmldb:store("/db/apps/SADE/resources/xml/", "tei-simple.xml", $final-tei):)
xmldb:store("/db/apps/SADE/resources/xml/", "fontane-tei.xml", <TEI xmlns="http://www.tei-c.org/ns/1.0">{$header}{$tidy}</TEI>)
};
declare function tidySimple:sort-out-invalid-hands($nodes as node()*)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment