Loading rxq/util.xqm +2 −0 Original line number Diff line number Diff line Loading @@ -92,10 +92,12 @@ declare function max.util:addHTMLClass($htmlNode as node(), $targetId as xs:stri declare function max.util:xml2pdf($xml as element(), $xsl as xs:string, $project as xs:string, $id){ let $projectPrettyName := max.config:getProjectPrettyName($project) let $baseURI:= max.util:getRelativeRootPath($project) let $host := substring-before(request:uri(),request:path()) let $xsl := xslt:transform($xml, $xsl, map{ "prettyName":$projectPrettyName, "idProject":$id, "host":$host, "project" : $project, "locale": max.i18n:getLang($project) }) Loading Loading
rxq/util.xqm +2 −0 Original line number Diff line number Diff line Loading @@ -92,10 +92,12 @@ declare function max.util:addHTMLClass($htmlNode as node(), $targetId as xs:stri declare function max.util:xml2pdf($xml as element(), $xsl as xs:string, $project as xs:string, $id){ let $projectPrettyName := max.config:getProjectPrettyName($project) let $baseURI:= max.util:getRelativeRootPath($project) let $host := substring-before(request:uri(),request:path()) let $xsl := xslt:transform($xml, $xsl, map{ "prettyName":$projectPrettyName, "idProject":$id, "host":$host, "project" : $project, "locale": max.i18n:getLang($project) }) Loading