Skip to content

Commit

Permalink
Update keyboard.xsl
Browse files Browse the repository at this point in the history
  • Loading branch information
tboenig committed Jun 27, 2022
1 parent 4592f7d commit cb8a6d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/keyboard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -341,15 +341,15 @@ Names
</xsl:template>

<xsl:template match="koma">
<xsl:variable name="nrk"><xsl:number format="1" start-at="1"/></xsl:variable>


<xsl:message select="$nrk"/>


<xsl:for-each select=".">
<xsl:variable name="sumKoma" select="count(.)"/>
<xsl:variable name="nrk"><xsl:sort select="." data-type="number" order="ascending"/><xsl:number format="1" start-at="1"/></xsl:variable>


<xsl:message select="$nrk"/>
<xsl:choose>
<xsl:when test="$nrk = $sumKoma"><xsl:value-of select="$nrk"/>##<xsl:value-of select="$sumKoma"/></xsl:when><xsl:otherwise>,</xsl:otherwise>
</xsl:choose>
Expand Down

0 comments on commit cb8a6d5

Please # to comment.