Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
1fb19d1f
Commit
1fb19d1f
authored
Jun 29, 2018
by
Mathias Goebel
🎠
Browse files
closes
#30
parent
139f74a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/register.xqm
View file @
1fb19d1f
...
...
@@ -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 :)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment