Skip to content

Commit

Permalink
Merge pull request #180 from metanorma/feature/xslt-update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Aug 11, 2023
2 parents fa4007b + c53c486 commit d98ad7c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions lib/isodoc/m3aawg/m3aawg.policy.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -3462,21 +3462,21 @@

<xsl:template match="*[local-name()='table']/*[local-name()='note' or local-name() = 'example']" priority="2">

<fo:block xsl:use-attribute-sets="table-note-style">
<fo:block xsl:use-attribute-sets="table-note-style">

<xsl:call-template name="refine_table-note-style"/>
<xsl:call-template name="refine_table-note-style"/>

<!-- Table's note/example name (NOTE, for example) -->
<fo:inline xsl:use-attribute-sets="table-note-name-style">
<!-- Table's note/example name (NOTE, for example) -->
<fo:inline xsl:use-attribute-sets="table-note-name-style">

<xsl:call-template name="refine_table-note-name-style"/>
<xsl:call-template name="refine_table-note-name-style"/>

<xsl:apply-templates select="*[local-name() = 'name']"/>
<xsl:apply-templates select="*[local-name() = 'name']"/>

</fo:inline>
</fo:inline>

<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
</fo:block>
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
</fo:block>

</xsl:template> <!-- table/note -->

Expand Down
18 changes: 9 additions & 9 deletions lib/isodoc/m3aawg/m3aawg.report.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -3462,21 +3462,21 @@

<xsl:template match="*[local-name()='table']/*[local-name()='note' or local-name() = 'example']" priority="2">

<fo:block xsl:use-attribute-sets="table-note-style">
<fo:block xsl:use-attribute-sets="table-note-style">

<xsl:call-template name="refine_table-note-style"/>
<xsl:call-template name="refine_table-note-style"/>

<!-- Table's note/example name (NOTE, for example) -->
<fo:inline xsl:use-attribute-sets="table-note-name-style">
<!-- Table's note/example name (NOTE, for example) -->
<fo:inline xsl:use-attribute-sets="table-note-name-style">

<xsl:call-template name="refine_table-note-name-style"/>
<xsl:call-template name="refine_table-note-name-style"/>

<xsl:apply-templates select="*[local-name() = 'name']"/>
<xsl:apply-templates select="*[local-name() = 'name']"/>

</fo:inline>
</fo:inline>

<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
</fo:block>
<xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
</fo:block>

</xsl:template> <!-- table/note -->

Expand Down

0 comments on commit d98ad7c

Please sign in to comment.