Commit 8cb86e20 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

minor formatting

parent 4ba2349d
......@@ -124,7 +124,7 @@ for $n in $note
: a list item with a list of links
: :)
declare function local:links($links as element(tei:link)*)
as element(xhtml:li){
as element(xhtml:li) {
let $notebookUris := $links ! (substring-after(./@target, $f-register:targetStart) => substring(1,5) => distinct-values())
let $linkMap as map() :=
map:new(
......@@ -213,7 +213,7 @@ element xhtml:li {
: @return link to the corresponding index entry
: :)
declare function local:pointer($entry as element())
as element(xhtml:li){
as element(xhtml:li) {
let $labelMain := ($entry/*)[1]
let $target := $entry/tei:note/tei:ptr/@target => substring-after('#')
let $targetNode := $entry/root()//@xml:id[. = $target]/parent::tei:*
......
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