Skip to content

Commit

Permalink
Merge pull request #332 from metanorma/feature/xslt-update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Nov 29, 2024
2 parents d6ef54f + 5e17593 commit cef68cd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions lib/isodoc/cc/cc.standard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -11632,6 +11632,20 @@
<xsl:copy-of select="$maths"/>
</xsl:template>

<xsl:template match="*[local-name() = 'fmt-title']" mode="update_xml_step1">
<xsl:element name="title" namespace="{$namespace_full}">
<xsl:copy-of select="@*"/>
<xsl:apply-templates mode="update_xml_step1"/>
</xsl:element>
</xsl:template>

<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
<xsl:element name="name" namespace="{$namespace_full}">
<xsl:copy-of select="@*"/>
<xsl:apply-templates mode="update_xml_step1"/>
</xsl:element>
</xsl:template>

<!-- =========================================================================== -->
<!-- END STEP1: Re-order elements in 'preface', 'sections' based on @displayorder -->
<!-- =========================================================================== -->
Expand Down

0 comments on commit cef68cd

Please sign in to comment.