Commit 9aa11ba8 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

refine commentary on sketches, related to #123

parent 5f613e5e
......@@ -219,10 +219,12 @@ declare function stk:noteParser($note as node()*)
case element (tei:figure) return
element xhtml:span {
attribute class { "target" },
"<Skizze>]",
if ($node/tei:figDesc/(@copyOf or @xml:id)) then "<Teil einer Skizze>]" else "<Skizze>]",
element xhtml:ul {
element xhtml:li {
stk:noteParser($node/node())
if ($node/tei:figDesc/(@copyOf))
then stk:noteParser($node/ancestor::tei:sourceDoc//*[@xml:id eq substring-after($node/tei:figDesc/@copyOf, "#")])
else stk:noteParser($node/node())
}
}
}
......
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