[Home] [By Thread] [By Date] [Recent Entries]

Subject: sum() and param
From: "Blanche Angelo" <bethangelo@xxxxxxxxxxx>
Date: Fri, 21 Mar 2003 20:18:10 -0800
Hi everyone,

This is my first posting, and as far as I can tell, this hasn't been answered in the archives. Here goes:

For an assignment in my introductory XML class, I am required to use <xsl:param> to set a report that also uses count() and sum(). I've set everything up, but I can't figure out how to make sum() work for two conditions. Here's the URL of the page:

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.

Thanks in advance for any assistance you can offer.

Beth Angelo




_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus



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



Current Thread
  • sum() and param
    • Blanche Angelo - Fri, 21 Mar 2003 23:26:14 -0500 (EST) <=
      • Mike Brown - Sat, 22 Mar 2003 02:09:15 -0500 (EST)
      • <Possible follow-ups>
      • Mike Brown - Sat, 22 Mar 2003 15:08:13 -0500 (EST)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member