Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plateau xslt updated to fix missing terms, metanorma/mn-samples-plate… #805

Merged
merged 1 commit into from
Jan 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions xslt_src/plateau.international-standard.core.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -1735,6 +1735,15 @@
<!-- Key title after the table -->
<xsl:template match="plateau:table/plateau:p[@class = 'ListTitle']" priority="2" mode="update_xml_step1"/>

<!-- added to fix conflict with previous update in update_xml_pres -->
<xsl:template match="*[local-name() = 'preferred'] | *[local-name() = 'admitted'] | *[local-name() = 'deprecates'] |
*[local-name() = 'definition'] | *[local-name() = 'termsource'] | *[local-name() = 'termsource'] |
*[local-name() = 'term'][@unnumbered = 'true']" mode="update_xml_step1" priority="2">
<xsl:copy>
<xsl:apply-templates select="@*|node()" mode="update_xml_step1"/>
</xsl:copy>
</xsl:template>

<xsl:template match="*[local-name() = 'font_en_bold'][normalize-space() != '']">
<xsl:if test="ancestor::*[local-name() = 'td' or local-name() = 'th']">
<xsl:choose>
Expand Down
Loading