Skip to content

Commit

Permalink
Merge pull request #557 from metanorma/feature/xslt-update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jul 8, 2024
2 parents cb2db92 + f9c1c71 commit 8115066
Show file tree
Hide file tree
Showing 9 changed files with 72 additions and 18 deletions.
10 changes: 8 additions & 2 deletions lib/isodoc/itu/itu.implementers-guide.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10524,8 +10524,11 @@
</xsl:template>

<xsl:template match="*[local-name() = 'strong']" mode="contents_item">
<xsl:param name="element"/>
<xsl:copy>
<xsl:apply-templates mode="contents_item"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>

Expand Down Expand Up @@ -10592,7 +10595,10 @@

<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
<xsl:template match="*[local-name() = 'span']" mode="contents_item">
<xsl:apply-templates mode="contents_item"/>
<xsl:param name="element"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:template>

<!-- =============== -->
Expand Down
10 changes: 8 additions & 2 deletions lib/isodoc/itu/itu.in-force.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10524,8 +10524,11 @@
</xsl:template>

<xsl:template match="*[local-name() = 'strong']" mode="contents_item">
<xsl:param name="element"/>
<xsl:copy>
<xsl:apply-templates mode="contents_item"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>

Expand Down Expand Up @@ -10592,7 +10595,10 @@

<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
<xsl:template match="*[local-name() = 'span']" mode="contents_item">
<xsl:apply-templates mode="contents_item"/>
<xsl:param name="element"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:template>

<!-- =============== -->
Expand Down
10 changes: 8 additions & 2 deletions lib/isodoc/itu/itu.recommendation-annex.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10524,8 +10524,11 @@
</xsl:template>

<xsl:template match="*[local-name() = 'strong']" mode="contents_item">
<xsl:param name="element"/>
<xsl:copy>
<xsl:apply-templates mode="contents_item"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>

Expand Down Expand Up @@ -10592,7 +10595,10 @@

<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
<xsl:template match="*[local-name() = 'span']" mode="contents_item">
<xsl:apply-templates mode="contents_item"/>
<xsl:param name="element"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:template>

<!-- =============== -->
Expand Down
10 changes: 8 additions & 2 deletions lib/isodoc/itu/itu.recommendation-supplement.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10524,8 +10524,11 @@
</xsl:template>

<xsl:template match="*[local-name() = 'strong']" mode="contents_item">
<xsl:param name="element"/>
<xsl:copy>
<xsl:apply-templates mode="contents_item"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>

Expand Down Expand Up @@ -10592,7 +10595,10 @@

<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
<xsl:template match="*[local-name() = 'span']" mode="contents_item">
<xsl:apply-templates mode="contents_item"/>
<xsl:param name="element"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:template>

<!-- =============== -->
Expand Down
10 changes: 8 additions & 2 deletions lib/isodoc/itu/itu.recommendation.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10524,8 +10524,11 @@
</xsl:template>

<xsl:template match="*[local-name() = 'strong']" mode="contents_item">
<xsl:param name="element"/>
<xsl:copy>
<xsl:apply-templates mode="contents_item"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>

Expand Down Expand Up @@ -10592,7 +10595,10 @@

<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
<xsl:template match="*[local-name() = 'span']" mode="contents_item">
<xsl:apply-templates mode="contents_item"/>
<xsl:param name="element"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:template>

<!-- =============== -->
Expand Down
10 changes: 8 additions & 2 deletions lib/isodoc/itu/itu.resolution.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10524,8 +10524,11 @@
</xsl:template>

<xsl:template match="*[local-name() = 'strong']" mode="contents_item">
<xsl:param name="element"/>
<xsl:copy>
<xsl:apply-templates mode="contents_item"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>

Expand Down Expand Up @@ -10592,7 +10595,10 @@

<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
<xsl:template match="*[local-name() = 'span']" mode="contents_item">
<xsl:apply-templates mode="contents_item"/>
<xsl:param name="element"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:template>

<!-- =============== -->
Expand Down
10 changes: 8 additions & 2 deletions lib/isodoc/itu/itu.service-publication.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10524,8 +10524,11 @@
</xsl:template>

<xsl:template match="*[local-name() = 'strong']" mode="contents_item">
<xsl:param name="element"/>
<xsl:copy>
<xsl:apply-templates mode="contents_item"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>

Expand Down Expand Up @@ -10592,7 +10595,10 @@

<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
<xsl:template match="*[local-name() = 'span']" mode="contents_item">
<xsl:apply-templates mode="contents_item"/>
<xsl:param name="element"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:template>

<!-- =============== -->
Expand Down
10 changes: 8 additions & 2 deletions lib/isodoc/itu/itu.technical-paper.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10524,8 +10524,11 @@
</xsl:template>

<xsl:template match="*[local-name() = 'strong']" mode="contents_item">
<xsl:param name="element"/>
<xsl:copy>
<xsl:apply-templates mode="contents_item"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>

Expand Down Expand Up @@ -10592,7 +10595,10 @@

<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
<xsl:template match="*[local-name() = 'span']" mode="contents_item">
<xsl:apply-templates mode="contents_item"/>
<xsl:param name="element"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:template>

<!-- =============== -->
Expand Down
10 changes: 8 additions & 2 deletions lib/isodoc/itu/itu.technical-report.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -10524,8 +10524,11 @@
</xsl:template>

<xsl:template match="*[local-name() = 'strong']" mode="contents_item">
<xsl:param name="element"/>
<xsl:copy>
<xsl:apply-templates mode="contents_item"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:copy>
</xsl:template>

Expand Down Expand Up @@ -10592,7 +10595,10 @@

<!-- Note: to enable the addition of character span markup with semantic styling for DIS Word output -->
<xsl:template match="*[local-name() = 'span']" mode="contents_item">
<xsl:apply-templates mode="contents_item"/>
<xsl:param name="element"/>
<xsl:apply-templates mode="contents_item">
<xsl:with-param name="element" select="$element"/>
</xsl:apply-templates>
</xsl:template>

<!-- =============== -->
Expand Down

0 comments on commit 8115066

Please sign in to comment.