Skip to content

Commit

Permalink
Cria apresentação para verse-group e verse-line (#627)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertatakenaka authored Jun 3, 2024
1 parent d0ccef4 commit d629d79
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packtools/catalogs/htmlgenerator/v2.0/article-text-back.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">

<xsl:include href="verse-group.xsl"/>

<xsl:template match="*" mode="node-name"><xsl:value-of select="name()"/></xsl:template>

<xsl:template match="ref-list" mode="standard-title">
Expand Down
16 changes: 16 additions & 0 deletions packtools/catalogs/htmlgenerator/v2.0/verse-group.xsl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">

<xsl:template match="verse-group">
<div class="versegroup">
<xsl:apply-templates select="*"/>
</div>

</xsl:template>

<xsl:template match="verse-line">
<xsl:apply-templates select="*|text()"/><br/>
</xsl:template>

</xsl:stylesheet>

0 comments on commit d629d79

Please sign in to comment.