From 18c2970e9c39441e2e1d40dca1b4ef48b79d93ee Mon Sep 17 00:00:00 2001 From: bwbohl Date: Tue, 17 Dec 2024 12:43:27 +0100 Subject: [PATCH] getHelp: submit proper docUri to teiBody2HTML.xsl closes #480 --- add/data/xql/getHelp.xql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/add/data/xql/getHelp.xql b/add/data/xql/getHelp.xql index 5266b2a8..4d9a2a21 100644 --- a/add/data/xql/getHelp.xql +++ b/add/data/xql/getHelp.xql @@ -41,7 +41,7 @@ let $base := eutil:get-app-collection() let $baseXslt := $base ||'/data/xslt/' -let $doc := doc(concat('../../help/help_', $lang, '.xml')) +let $docUri := string-join(($base,concat('help/help_', $lang, '.xml')), '/') let $contextPath := if(starts-with(document-uri($doc), '/db')) then @@ -72,7 +72,7 @@ let $doc := (: == passing empty value for docUri (XSLT expects xs:anyURI, but ExtJS view does not provide value) -> github#480 == :) - + )