Skip to content

Commit

Permalink
More <xsl:text disable-output-escaping="yes">
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 16, 2024
1 parent 02dca89 commit 0b9b035
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ LIMIT 100
<![CDATA[
];
const docPromises = locationMapping.map(mapping => SaxonJS.getResource({location: mapping.altName, type: "xml"}));
const servicesRequestUri = "]]><xsl:value-of select="$app-request-uri"/><![CDATA[";
const servicesRequestUri = "]]></xsl:text><xsl:value-of select="$app-request-uri"/><xsl:text disable-output-escaping="yes"><![CDATA[";
const stylesheetParams = {
"Q{https://w3id.org/atomgraph/client#}contextUri": contextUri, // servlet context URI
"Q{https://www.w3.org/ns/ldt#}base": baseUri,
Expand All @@ -451,9 +451,9 @@ LIMIT 100
};
return SaxonJS.transform({
documentPool: cache,
stylesheetLocation: "]]><xsl:value-of select="$client-stylesheet"/><![CDATA[",
stylesheetLocation: "]]></xsl:text><xsl:value-of select="$client-stylesheet"/><xsl:text disable-output-escaping="yes"><![CDATA[",
initialTemplate: "main",
logLevel: ]]><xsl:value-of select="$saxon-js-log-level"/><![CDATA[,
logLevel: ]]></xsl:text><xsl:value-of select="$saxon-js-log-level"/><xsl:text disable-output-escaping="yes"><![CDATA[,
stylesheetParams: stylesheetParams
}, "async");
}).
Expand Down

0 comments on commit 0b9b035

Please sign in to comment.