reduce number of tables: merge Tap and Hold counts tables
This commit is contained in:
@@ -502,22 +502,23 @@
|
|||||||
</xsl:with-param>
|
</xsl:with-param>
|
||||||
<xsl:with-param name="text">
|
<xsl:with-param name="text">
|
||||||
|
|
||||||
<xsl:for-each select="./*[count(*) > 0]">
|
<h2>Judgments</h2>
|
||||||
<h2>
|
|
||||||
<xsl:if test="name()='TapNoteScores'">Tap Scores</xsl:if>
|
|
||||||
<xsl:if test="name()='HoldNoteScores'">Hold Scores</xsl:if>
|
|
||||||
<xsl:if test="name()='RadarValues'">Stats</xsl:if>
|
|
||||||
</h2>
|
|
||||||
<xsl:element name="table" use-attribute-sets="EntityTableAttr">
|
<xsl:element name="table" use-attribute-sets="EntityTableAttr">
|
||||||
<xsl:call-template name="DataTableGenerator">
|
<xsl:call-template name="DataTableGenerator">
|
||||||
<xsl:with-param name="cols" select="2" />
|
<xsl:with-param name="cols" select="2" />
|
||||||
<xsl:with-param name="nodeset" select="*[text()]" />
|
<xsl:with-param name="nodeset" select="TapNoteScores/* | HoldNoteScores/*" />
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:element>
|
</xsl:element>
|
||||||
<xsl:if test="position()!=last()">
|
|
||||||
<hr />
|
<hr />
|
||||||
</xsl:if>
|
|
||||||
</xsl:for-each>
|
<h2>Stats</h2>
|
||||||
|
<xsl:element name="table" use-attribute-sets="EntityTableAttr">
|
||||||
|
<xsl:call-template name="DataTableGenerator">
|
||||||
|
<xsl:with-param name="cols" select="2" />
|
||||||
|
<xsl:with-param name="nodeset" select="RadarValues/*" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:element>
|
||||||
|
|
||||||
</xsl:with-param>
|
</xsl:with-param>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
|
|||||||
Reference in New Issue
Block a user