Skip to content
Snippets Groups Projects
Commit 852a34a7 authored by Michelle Rodzis's avatar Michelle Rodzis
Browse files

Provides every result with a wrapper

parent 227b88b0
No related branches found
No related tags found
No related merge requests found
......@@ -55,13 +55,11 @@ $dir as xs:string) {
let $preprocessed-data := pre:preprocessing($xml/*, $ifweb:replace-whitespace)
let $intermediate-format := ident:walk($preprocessed-data, ())
let $content :=
if(count($intermediate-format) gt 1) then
element tei:div {
$xml/@*,
attribute id {generate-id($xml)},
$intermediate-format}
else
$intermediate-format
$intermediate-format
}
let $store := xmldb:store($dir, $filename, $content)
return $intermediate-format
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment