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 23, 2022
1 parent eb09bf1 commit 38a8eef
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions scripts/keyboard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -213,19 +213,20 @@ Names
<line>
<xsl:for-each select="fn:current-group()">
{
"number": <xsl:number value="./position()" format="1" />
"row": 1,
"column": 3,
"character": "<xsl:value-of select="fn:string[@key = 'mufichar']"/>"
}<sp/>
"character": "<xsl:value-of select="fn:string[@key = 'mufichar']"/>
}<sp/>
</xsl:for-each>
</line>
</xsl:for-each-group>
</xsl:variable>
<xsl:message select="$keys"/>
<xsl:for-each select="$keys/line[fn:position() &lt; last()]">
"<xsl:apply-templates/><xsl:text disable-output-escaping="yes">",&#xD;</xsl:text>
<xsl:apply-templates/><xsl:text disable-output-escaping="yes">,&#xD;</xsl:text>
</xsl:for-each>
"<xsl:value-of select="$keys/line[position()=last()]"/>"
<xsl:value-of select="$keys/line[position()=last()]"/>
]}
</xsl:result-document>
</xsl:for-each-group>
Expand Down Expand Up @@ -306,6 +307,7 @@ Names


<xsl:template match="sp">
number: <xsl:number value="position()" format="1" />
<xsl:choose>
<xsl:when test="following-sibling::sp">
<xsl:text> </xsl:text>
Expand Down

0 comments on commit 38a8eef

Please sign in to comment.