Skip to content

Commit

Permalink
getHelp: submit proper docUri to teiBody2HTML.xsl
Browse files Browse the repository at this point in the history
closes #480
  • Loading branch information
bwbohl committed Dec 17, 2024
1 parent cb0600c commit 18c2970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions add/data/xql/getHelp.xql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -72,7 +72,7 @@ let $doc :=
<param name="tocDepth" value="1"/>
<param name="contextPath" value="{$contextPath}"/>
(: == passing empty value for docUri (XSLT expects xs:anyURI, but ExtJS view does not provide value) -> github#480 == :)
<param name="docUri" value="''"/>
<param name="docUri" value="{$docUri}"/>
</parameters>
)

Expand Down

0 comments on commit 18c2970

Please sign in to comment.