Commit 8be69eba authored by mrodzis's avatar mrodzis 🌿
Browse files

Closes #105

parent b9868011
......@@ -208,7 +208,10 @@ $log as xs:string) as node()* {
simpleHelpers:trim-first-char($node))
else if($node/@type = "verse") then
if(not($node/@next)) then
if($node/@prev) then
()
else if(not($node/@next)) then
(if(not($node/preceding-sibling::tei:line[@type = "verse"])) then
fontaneSimple:mark-linegroup-beginning()
else
......@@ -220,10 +223,11 @@ $log as xs:string) as node()* {
fontaneSimple:mark-linegroup-end()
else
())
(: 3.8.2.2.1.3 Vers mit anderer Beschriftung in einer Zeile :)
else
let $corresp := $node/following::tei:seg[@type = "verse"
and matches($node/@next, @xml:id)]
let $corresp := $node/following::*[@type = "verse"
and replace($node/@next, "#", "") = @xml:id]
return
(fontaneSimple:mark-linegroup-beginning(),
element tei:l {
......
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