Q. The statement "<xsl:if test="price > 10">" will filter out those a price > 10. I would like to calculate the total cost of ONLY these items. The code currently calculates the cost of ALL items in the XML file. How can I do this ?
I have attached the xml file (cdcatalog.xml) required,
From: stylus-studio-xslt Listmanager
[mailto:stylus-studio-xslt.listmanager@stylusstudio.com]
Sent: Saturday, August 05, 2006 8:56 AM
Subject: Using the sum() function
Q. The statement "<xsl:if test="price > 10">" will filter out those a
price > 10. I would like to calculate the total cost of ONLY these
items. The code currently calculates the cost of ALL items in the XML
file. How can I do this ?
I have attached the xml file (cdcatalog.xml) required,
--
To reply:stylus-studio-xslt.16247@stylusstudio.com
To start a new topic:stylus-studio-xslt@stylusstudio.com
To login:http://www.stylusstudio.com/SSDN/
To (un)subscribe:stylus-studio-xslt.list-request@stylusstudio.com