Subject: Re: [xsl] need help for sum() and point of view From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Wed, 03 Jul 2002 19:12:53 +0200 |
So you only have to do <xsl:value-of select="sum(key('item-by-id', 3)/Total)"/> to sum all 'Total's of the 'BudgetItemXML's with 'BIT_ItemID'=3.
hi,
I made some work on a XML file to translate it.
I would like first to have your point of view :
look at the transformation of the following XML by the following XSL you can see 2 buttons in fact those buttons should do this : by default the grouping is made first by Task and then by Activity but if the user click on the button this should swap the grouping with first Activity and then Task.
Do you think it's doable ? (maybe with javascript included in the web page, loading xml using xml dom and data island ... ?)
Second question :
i need some help for the sum() because i still have difficulties with paths and things like this... the best would be a solution + explanation but i think that i could maybe try to do it myself with a sample of "complex" sum()
TIA regards,
Elise, XML learning girl ;-)
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] need help for sum() and point, Elise_Dupont | Thread | [xsl] Data or Template Driven?, Scott Purcell |
[xsl] illegal characters in large X, Meltem Kogelbauer | Date | [xsl] jsp call, Charly |
Month |