left up right
exit template
<xsl:template name="exit">
  <xsl:param name="str"/>
  <xsl:param name="max"/>
  <xsl:param name="pos"/>
  <xsl:param name="sofar"/>
  <n><xsl:value-of select="substring($sofar, 1, string-length($sofar) - 1)"/></n>
  <xsl:choose>
   <xsl:when test="$pos != $max">
    <xsl:call-template name="one">
      <xsl:with-param name="str" select="substring($str,1)"/>
      <xsl:with-param name="max" select="$max"/>
      <xsl:with-param name="pos" select="$pos + 1"/> Look for next number
    </xsl:call-template>
   </xsl:when>
   <xsl:otherwise>
    <unused><xsl:value-of select="substring($str,1)"/></unused>
   </xsl:otherwise>
  </xsl:choose>
</xsl:template>