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 == :)
-
+
)