Commit 188bb1a1 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

prepare for nested tei:mod with different features.

parent 765be049
......@@ -652,7 +652,7 @@ as element(xhtml:span) {
element xhtml:span {'urch'},
'>'
}
else if($node//del[@rend=('overwritten', 'erased; overwritten')]) then
else if($node/tei:del[@rend=('overwritten', 'erased; overwritten')]) then
element xhtml:div {
attribute class {
'modHover italic',
......@@ -680,7 +680,7 @@ as element(xhtml:span) {
'>', if(matches(string-join($node//tei:add/text()), '^\.$|^,$|^:$|^;$')) then () else element xhtml:span { transfo:postText($node) }
}
else if(
$node//tei:del[not(@rend=('overwritten', 'erased; overwritten'))]
$node/tei:del[not(@rend=('overwritten', 'erased; overwritten'))]
or ($node/@prev and $node/root()//tei:mod[@xml:id = substring-after($node/@prev, "#")]//tei:del[not(@rend=('overwritten', 'erased; overwritten'))])
) then
element xhtml:div {
......@@ -1476,6 +1476,7 @@ as item()* {
case "nds" return "Berlinerisch/Märkisch-Plattdeutsch/Plattdeutsch"
case "ru" return "Russisch "
case "szl" return "Schlesisch"
case "sxu" return "Sächsisch"
case "pfl" return "Pfälzisch"
default return "Deutsch"
return
......
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