|
Subject: [xsl] Summing hours-worked values from previous siblings only to determine accrued hours From: "Mark" <mark@xxxxxxxxxxxx> Date: Fri, 13 Apr 2012 13:16:11 -0700 |
<xsl:template match="Session"> <fo:table-row> <fo:table-cell> <fo:block xsl:use-attribute-sets="subdiv1"> <xsl:value-of select="@task"/> </fo:block> </fo:table-cell> </fo:table-row> <xsl:apply-templates/> <xsl:call-template name="day-total"/> </xsl:template>
<xsl:template name="day-total">
<fo:table-row>
<fo:table-cell>
<fo:block xsl:use-attribute-sets="subdiv3">
<fo:wrapper xsl:use-attribute-sets="title">
<xsl:text>Daily Total: </xsl:text>
</fo:wrapper>
<xsl:value-of select="sum(Notes/@hours-worked)"/>
<fo:wrapper xsl:use-attribute-sets="title">
<xsl:text>Accrued: </xsl:text>
</fo:wrapper>
<!-- What goes here to select all previous Notes/@hours-worked???
<xsl:value-of select="sum(?????????????Notes/@hours-worked)"/>
</fo:block>
</fo:table-cell>
</fo:table-row>
</xsl:template>| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] "Tunneling" a parameter i, Wendell Piez | Thread | Re: [xsl] Summing hours-worked valu, G. Ken Holman |
| Re: [xsl] "Tunneling" a parameter i, G. Ken Holman | Date | Re: [xsl] Summing hours-worked valu, G. Ken Holman |
| Month |