Does it solve your problem if you replace the "com" template with the following
(it solves the problem you pointed out anyway...)? It assumes that the number
of number-elements is the same in each group of elements.
/Marcus
<xsl:template match="com">
<table>
<xsl:call-template name="verticalTable">
<xsl:with-param name="rowIndex" select="1"/>
<xsl:with-param name="endIndex" select="count(*/*)"/>
</xsl:call-template>
</table>
</xsl:template>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list