[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: sum() and param

Subject: Re: sum() and param
From: Mike Brown <mike@xxxxxxxx>
Date: Sat, 22 Mar 2003 00:12:52 -0700 (MST)
blanche angelo
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 &lt; 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


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)

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.