Commit 9939a782 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

closes #28

parent f59ca4ba
......@@ -401,7 +401,7 @@ then
local:pointer($event)
else
let $id := $event/@xml:id
let $where := substring-after($event/@where, ":")
let $wheres := tokenize($event/@where, " ") ! substring-after(., ":")
let $labelMain := ($event/tei:label)[1]
let $labelAlt := ($event/tei:label[not(@type="variant")])[position() gt 1]
let $variant := $event/tei:label[@type="variant"]
......@@ -440,7 +440,7 @@ return
(: note :)
local:note($note),
(: where :)
if($where = "") then () else
for $where in $wheres return
element xhtml:li {
attribute class { "where" },
element xhtml:a {
......
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