|
|
@@ -150,7 +150,7 @@
|
|
|
<groupHeader>
|
|
|
<band>
|
|
|
<xsl:attribute name="height"><xsl:value-of
|
|
|
- select="round(Area[@type='GroupHeader']/Section/@height div $positionRate)" /></xsl:attribute>
|
|
|
+ select="round(sum(Area[@type='GroupHeader']/Section/@height) div $positionRate)" /></xsl:attribute>
|
|
|
<xsl:for-each select="Area[@type='GroupHeader']/Section">
|
|
|
<xsl:apply-templates select="Element" />
|
|
|
</xsl:for-each>
|
|
|
@@ -159,7 +159,7 @@
|
|
|
<groupFooter>
|
|
|
<band>
|
|
|
<xsl:attribute name="height"><xsl:value-of
|
|
|
- select="round(Area[@type='GroupFooter']/Section/@height div $positionRate)" /></xsl:attribute>
|
|
|
+ select="round(sum(Area[@type='GroupFooter']/Section/@height) div $positionRate)" /></xsl:attribute>
|
|
|
<xsl:for-each select="Area[@type='GroupFooter']/Section">
|
|
|
<xsl:apply-templates select="Element" />
|
|
|
</xsl:for-each>
|