|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: How can I sum values in multiple rows
> I'm generating xml-Files from a database and I want to sum values of > multiple rows like > > <xsl:value-of select="format-number(SONDERSET/ROW[@ID='1'] + > SONDERSET/ROW[@ID='2'] + SONDERSET/ROW[@ID='3'],'###.##0,00')"/> > > Now the problem is, that I don't know how many rows are there > so I need a possibility to do something like : > > <xsl:value-of > select="format-number(SONDERSET/ROW[@ID='*'],'###.##0,00')"/> > Try <xsl:value-of select="format-number(sum(SONDERSET/ROW[@ID]),'###.##0,00')"/> Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








