Commit 14a06679 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

remove redundant classn ames and set up double border for multiple active tei:mod

parent 0297e9d8
......@@ -1387,7 +1387,15 @@ declare function transfo:text($n as text())
as item()* {
let $followingAnchorWithModBeforeThisNode := $n/following::tei:anchor[@xml:id = $n/preceding::tei:mod[@spanTo]/substring-after(@spanTo, '#')]/('#' || @xml:id)
let $allModBefore := $n/preceding::tei:mod[@spanTo = $followingAnchorWithModBeforeThisNode]
let $modClasses := for $mod in $allModBefore return ("modSeq" || string($mod/@seq), transfo:segStyle($mod))
let $modClasses :=
let $styleSource :=
for $mod in $allModBefore
return
("modSeq" || string($mod/@seq), transfo:segStyle($mod))
let $styleToken := tokenize($styleSource)
let $style := if(index-of($styleToken, "solid")[2]) then (distinct-values($styleToken)[.!="solid"], "double") else $styleToken
return
$style
let $handShiftNewRef := $n/preceding::tei:handShift[@new][1]/substring-after(@new, '#')
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