Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Feb 13, 2024
2 parents a953305 + 613ff26 commit f23c8dd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/isodoc/cc/cc.standard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -4244,13 +4244,13 @@
<tr>
<td>
<xsl:attribute name="id">
<xsl:value-of select="concat($id,'_',$row_number,'_1')"/>
<xsl:value-of select="concat($id,'@',$row_number,'_1')"/>
</xsl:attribute>
<xsl:apply-templates/>
</td>
<td>
<xsl:attribute name="id">
<xsl:value-of select="concat($id,'_',$row_number,'_2')"/>
<xsl:value-of select="concat($id,'@',$row_number,'_2')"/>
</xsl:attribute>

<xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]">
Expand Down Expand Up @@ -5492,15 +5492,15 @@
</xsl:choose>
</xsl:variable>
<xsl:attribute name="id">
<xsl:value-of select="concat($id,'_',$row_number,'_',$col_number,'_',$divide)"/>
<xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_',$divide)"/>
</xsl:attribute>

<xsl:for-each select="*[local-name() = 'p']">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:variable name="p_num" select="count(preceding-sibling::*[local-name() = 'p']) + 1"/>
<xsl:attribute name="id">
<xsl:value-of select="concat($id,'_',$row_number,'_',$col_number,'_p_',$p_num,'_',$divide)"/>
<xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_p_',$p_num,'_',$divide)"/>
</xsl:attribute>

<!-- <xsl:copy-of select="node()" /> -->
Expand Down Expand Up @@ -5564,7 +5564,7 @@
<xsl:variable name="num" select="count(preceding-sibling::word) + 1"/>
<xsl:copy>
<xsl:attribute name="id">
<xsl:value-of select="concat($id,'_',$row_number,'_',$col_number,'_word_',$num,'_',$divide)"/>
<xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_word_',$num,'_',$divide)"/>
</xsl:attribute>
<xsl:copy-of select="node()"/>
</xsl:copy>
Expand Down

0 comments on commit f23c8dd

Please sign in to comment.