Skip to content

Commit

Permalink
src, global include to avoid multiple inclusion
Browse files Browse the repository at this point in the history
  • Loading branch information
pdaengeli committed Sep 4, 2024
1 parent f7dd10f commit 6f9ae81
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions src/generate.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<xd:p></xd:p>
</xd:desc>
</xd:doc>

<xsl:include href="util/internal/enrich-msDesc.xsl"/>

<xsl:param name="path_api" as="xs:string" select="'../dist/api' => dsl:resolve-local-path()"/>
<xsl:param name="path_src" as="xs:string" select="'' => dsl:resolve-local-path()"/>
Expand Down
4 changes: 2 additions & 2 deletions src/util/flatten-originals.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</xd:desc>
</xd:doc>

<xsl:include href="internal/enrich-msDesc.xsl"/>
<!-- <xsl:include href="internal/enrich-msDesc.xsl"/> -->

<xd:doc scope="template">
<xd:desc>
Expand Down Expand Up @@ -50,4 +50,4 @@
<xsl:message>Task `{$task}` done.</xsl:message>
</xsl:template>

</xsl:transform>
</xsl:transform>
4 changes: 2 additions & 2 deletions src/util/pass-through-originals.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
</xd:desc>
</xd:doc>

<xsl:include href="internal/enrich-msDesc.xsl"/>
<!-- <xsl:include href="internal/enrich-msDesc.xsl"/> -->

<xsl:mode on-no-match="shallow-copy"/>

Expand Down Expand Up @@ -52,4 +52,4 @@
<xsl:message>Task `{$task}` done.</xsl:message>
</xsl:template>

</xsl:transform>
</xsl:transform>

0 comments on commit 6f9ae81

Please sign in to comment.