Commit 902806ba authored by sendler's avatar sendler 🐢
Browse files

code-cleanup

parent 5c09703d
......@@ -2153,7 +2153,7 @@ element xhtml:div {
else ())
else (),
$info := string-join(($fragment, $vakat), ', '),
$childs := for $child in $surface//tei:surface[@type= ('clipping', 'additional'), @attachment= ('partially_glued', 'partially_glued-posthumous', 'partially_glued-uncertain')]
$childs := for $child in $surface//tei:surface[@type= ('clipping', 'additional') or @attachment= ('partially_glued', 'partially_glued-posthumous', 'partially_glued-uncertain')]
return
<xhtml:li data-page="{$child/string(@n)}">
<xhtml:a href="?id=/xml/data/{ $uri }.xml&amp;page={$child/@n}">
......@@ -2201,6 +2201,15 @@ element xhtml:div {
(: surface without additionals :)
if ($surface/tei:surface/starts-with(@n, "Beilage_") = true())
then
<xhtml:li data-page="{$surface/string(@n)}-alt">
<xhtml:a href="{$url}-alt">
{$surface/string(@n)} (ohne Beilage)
</xhtml:a>
</xhtml:li>
else (),
if ($surface/tei:surface[@attachment= ('partially_glued', 'partially_glued-posthumous', 'partially_glued-uncertain')])
then
<xhtml:li data-page="{$surface/string(@n)}-alt">
<xhtml:a href="{$url}-alt">
......
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