Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
a0ecad6d
Commit
a0ecad6d
authored
Nov 21, 2018
by
mrodzis
🌿
Browse files
Remove aux query
parent
0a4d076d
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/teisimpleprint/find-wrong-references-in-index.xql
deleted
100644 → 0
View file @
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment