From a40e67f7b69b4d3d47323fea8f7c9bda00041558 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Daniel=20R=C3=B6wenstrunk?= <roewenstrunk@uni-paderborn.de>
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 ddf25b91e..e8c9e349b 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
-- 
GitLab