Skip to content

Commit

Permalink
Corrige ausência de fn[@fn-type='edited-by']/label
Browse files Browse the repository at this point in the history
  • Loading branch information
robertatakenaka committed Jan 30, 2024
1 parent c01bbc0 commit 2b97ddf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
10 changes: 1 addition & 9 deletions packtools/catalogs/htmlgenerator/v2.0/article-text-fn.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,7 @@
</xsl:template>

<xsl:template match="fn[@fn-type='edited-by'] | fn[@fn-type='data-availability']" mode="back-section-content">
<xsl:apply-templates select="p"/>
</xsl:template>

<xsl:template match="fn[@fn-type='edited-by']/label | fn[@fn-type='data-availability']/label" mode="back-section-content">
<!-- nao apresentar -->
</xsl:template>

<xsl:template match="fn[@fn-type='edited-by']/p | fn[@fn-type='data-availability']/p" mode="back-section-content">
<p><xsl:apply-templates select="*|text()"/></p>
<xsl:apply-templates select="label|p" mode="div-fn-list-item"/>
</xsl:template>

</xsl:stylesheet>
12 changes: 0 additions & 12 deletions packtools/catalogs/htmlgenerator/v3.0/article-text-fn.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,4 @@
</xsl:if>
</xsl:template>

<xsl:template match="fn[@fn-type='edited-by'] | fn[@fn-type='data-availability']" mode="back-section-content">
<xsl:apply-templates select="p"/>
</xsl:template>

<xsl:template match="fn[@fn-type='edited-by']/label | fn[@fn-type='data-availability']/label" mode="back-section-content">
<!-- nao apresentar -->
</xsl:template>

<xsl:template match="fn[@fn-type='edited-by']/p | fn[@fn-type='data-availability']/p" mode="back-section-content">
<p><xsl:apply-templates select="*|text()"/></p>
</xsl:template>

</xsl:stylesheet>

0 comments on commit 2b97ddf

Please sign in to comment.