Skip to content

Commit

Permalink
Use $base.dir to store JSON-LD structure
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschr committed Feb 16, 2024
1 parent c6e6085 commit 79d2cd0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions suse2022-ns/xhtml/json-ld.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,17 @@
</xsl:variable>

<xsl:if test="$generate.json-ld.external != 0">
<xsl:message>Going to write external JSON-LD structure to "<xsl:value-of
<!--
<xsl:message>Going to write external JSON-LD structure to "<xsl:value-of
select="$filename"/>" for <xsl:value-of select="local-name($node)"/>
Found <xsl:value-of select="count($stitchxml)"/> node(s) (=<xsl:value-of select="local-name($stitchxml)"/>).
<xsl:if test="$dcfilename">Found DC filename "<xsl:value-of select="$dcfilename"/>"</xsl:if>
base.dir="<xsl:value-of select="$base.dir"/>"
filename="<xsl:value-of select="$filename"/>"
</xsl:message>
-->
<xsl:call-template name="write.chunk">
<xsl:with-param name="filename" select="$filename"/>
<xsl:with-param name="filename" select="concat($base.dir, $filename)"/>
<xsl:with-param name="quiet" select="0"/>
<xsl:with-param name="method">text</xsl:with-param>
<xsl:with-param name="doctype-public"/>
Expand Down

0 comments on commit 79d2cd0

Please sign in to comment.