[Home] [By Thread] [By Date] [Recent Entries]
At 2012-04-19 07:17 -0700, Mark wrote:
'.00')"/>
Use: <xsl:value-of select="format-number(sum(current-group()/Notes/@hours-worked),'.00')"/> You've already correctly created the groups, you just aren't using them having created them. BTW, the <xsl:for-each select="."> is meaningless and does nothing except render your context list to be only a single item which is not useful. Although you don't need the set of groups in your solution, not having that <xsl:for-each> would give you more information about the current group within the set of groups. I hope this helps. . . . . . . . . . Ken -- Public XSLT, XSL-FO, UBL and code list classes in Europe -- May 2012 Contact us for world-wide XML consulting and instructor-led training Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Google+ profile: https://plus.google.com/116832879756988317389/about Legal business disclaimers: http://www.CraneSoftwrights.com/legal
|

Cart



