Commit 848eb796 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

index entries on current surface only, no child::surface

parent c0181d14
......@@ -81,9 +81,9 @@ return if(not(exists($page)))
else
(: test for entries before further processing :)
if(not(exists($page//tei:rs))) then () else
if(not(exists($page/tei:zone//tei:rs))) then () else
let $entities := $page//tei:rs/tokenize(@ref, " ") => distinct-values()
let $entities := $page/tei:zone//tei:rs/tokenize(@ref, " ") => distinct-values()
let $groups := $entities ! substring-before(., ":") => distinct-values()
for $group in $groups
......
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