Commit 1fb19d1f authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

closes #30

parent 139f74a6
......@@ -500,7 +500,7 @@ then
else
let $id := $org/@xml:id
let $labelMain := ($org/tei:orgName)[1]
let $labelAlt := ($org/(tei:orgName[not(@type="variant")], tei:idno))[position() gt 1]
let $idnos := $org/tei:idno
let $variant := $org/tei:orgName[@type="variant"]
let $note := $org/tei:note
let $bibl := $org/tei:bibl
......@@ -519,21 +519,7 @@ return
(: variant :)
local:variant($variant),
(: secondary label :)
for $l in $labelAlt
return
element xhtml:li {
attribute class {"label-" || string($l/@type)},
$l/text(),
if($l/@type = "variant")
then ()
else (
" ",
element xhtml:a {
attribute href { string($l/@xml:base) || string($l) },
<xhtml:i title="Link zu externer Ressource" class="fa fa-external-link"></xhtml:i>
}
)
},
local:idno($idnos),
(: note :)
local:note($note),
(: bibl :)
......
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