Commit a0ecad6d authored by mrodzis's avatar mrodzis 🌿
Browse files

Remove aux query

parent 0a4d076d
xquery version "3.1";
import module namespace index-info="http://fontane-nb.dariah.eu/index-info" at "/db/apps/SADE/modules/fontane/teisimpleprint/index-info.xqm";
declare namespace map = "http://www.w3.org/2005/xpath-functions/map";
declare namespace tei="http://www.tei-c.org/ns/1.0";
let $event-index := doc("/db/sade-projects/textgrid/data/xml/data/253t0.xml")
let $places-string := string-join($event-index//*/@where, " ")
let $places := tokenize($places-string, " ")
return
for $plc in $places
let $name := substring-after($plc, ":")
return
if(map:contains($index-info:place-map, $name)) then ()
else $plc
\ No newline at end of file
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