xsl-list
[Top] [All Lists]

Re: sum() and param

2003-03-22 00:12:52
Blanche Angelo wrote:
http://senna.sjsu.edu/lmain/zing/green.xml

Right now, the sum shown on the page is the sum of the price for ALL plants 
that cost less than $9.00. How do I use sum() to display the sum only for 
the plants displayed in the chart (i.e. all zone 4 plants that cost less 
than $9.00)? I've tried several approaches, but they don't work.

Something like

sum(/CATALOG/PLANT[GROWTH/ZONE=4 and SALESINFO/PRICE < 9])

Mike

-- 
  Mike J. Brown   |  http://skew.org/~mike/resume/
  Denver, CO, USA |  http://skew.org/xml/


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



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