Commit 051d2dda authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

add namespace, minor formatting

parent f1e8649d
......@@ -13,11 +13,12 @@ module namespace index="";
declare namespace output = "";
declare namespace tei="";
declare namespace test="";
declare namespace tgmd="";
declare namespace xhtml="";
import module namespace rest="";
import module namespace config="" at "../config/config.xqm";
import module namespace ixp="" at "index-processor.xqm";
import module namespace rest="";
declare variable $index:dataPath := "/db/sade-projects/textgrid/data/xml/data";
......@@ -288,9 +289,9 @@ return
: Returns available image from TextGrid Repository
: @param $type the index to look up, one of: plc, wrk, psn, eve, org
: @param $id the xml:id of an entity in the database
: @param $type the index to look up, on of: plc, wrk, psn, eve, org
: @return an array of URIs
: @return an array of URIs or an empty array
......@@ -308,7 +309,5 @@ as item()* {
href="{$type}:{$id}%22)" />
let $tgsearch := hc:send-request($request)[2]
[ $tgsearch//tgmd:textgridUri/string() ]
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