xsl-list
[Top] [All Lists]

sum() function

2003-03-26 06:56:48
Hello,
i have a XML like:

<root>
<tag>
        <tagID>FA40</tagID>
        <tagF>
                <tagG>25</tagG>
        </tagF>
</tag>
<tag>
        <tagID>RR</tagID>
        <tagF>
                <tagG>50</tagG>
        </tagF>
</tag>
<tag>
        <tagID>FA40</tagID>
        <tagF>
                <tagG>25</tagG>
        </tagF>
</tag>
</root>

and I want to apply the function sum() but only when tagID = FA40.
Can somebody help me?
thanks in advance

david


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>