From 531900a403d35c2e7ce109dae4690da3ba85fec7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20R=C3=B6wenstrunk?= Date: Tue, 7 Jan 2025 16:25:10 +0100 Subject: [PATCH] There are no more than one doc --- add/data/xql/getLinkTarget.xql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/add/data/xql/getLinkTarget.xql b/add/data/xql/getLinkTarget.xql index ddf25b91..e8c9e349 100644 --- a/add/data/xql/getLinkTarget.xql +++ b/add/data/xql/getLinkTarget.xql @@ -154,7 +154,7 @@ declare function local:getViews($type as xs:string, $docUri as xs:string, $doc a (:~ : Returns the window title for an edirom-object :) -declare function local:getWindowTitle($doc as node()+, $type as xs:string) as xs:string { +declare function local:getWindowTitle($doc as node(), $type as xs:string) as xs:string { (: Work :) if ($type = 'work') then