From 98234c5110833476f02b2a38da00adbd3bb82a8a Mon Sep 17 00:00:00 2001 From: Dennis Ried Date: Sun, 27 Nov 2022 18:35:58 +0100 Subject: [PATCH] add iframe view --- add/data/xql/getLinkTarget.xql | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/add/data/xql/getLinkTarget.xql b/add/data/xql/getLinkTarget.xql index db7821697..d6dc3ad96 100644 --- a/add/data/xql/getLinkTarget.xql +++ b/add/data/xql/getLinkTarget.xql @@ -102,8 +102,11 @@ declare function local:getView($type as xs:string, $docUri as xs:string, $doc as else if ($type = 'mei_annotationView') then (exists($doc//mei:annot[@type = 'editorialComment'])) - else if ($type = 'xml_xmlView') then - (true()) + else if($type = 'html_iFrameView') + then(true()) + + else if($type = 'xml_xmlView') + then(true()) else if ($type = 'desc_xmlView') then (exists($doc//mei:annot[@type = 'descLink'])) @@ -134,6 +137,7 @@ declare function local:getViews($type as xs:string, $docUri as xs:string, $doc a 'tei_facsimileView', 'tei_textFacsimileSplitView', 'mei_annotationView', + 'html_iFrameView', 'xml_xmlView', 'desc_xmlView' )