xsl-list
[Top] [All Lists]

simple summation question

2002-12-30 14:11:38

  Hello - a quick simple question, how would get a subTotal for someValue by
entity as shown below?
  I can get a grand total by using sum(/report/entity/row/someValue)..

  Thanks

   <report>
        <entity>
                <row>
                        <someValue>5</someValue>
                </row>
                <row>
                        <someValue>6</someValue>
                </row>
                <row>
                        <someValue>7</someValue>
                </row>
        </entity>

        <entity>
                <row>
                        <someValue>8</someValue>
                </row>
                <row>
                        <someValue>9</someValue>
                </row>
                <row>
                        <someValue>10</someValue>
                </row>
        </entity>
</report>



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



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