Or using FXSL:
<xsl:value-of select=
"f:foldl(f:add(),
0,
f:zipWith(f:mult(),/*/*/@price, /*/*/@qty)
)"/>
Wow! I didn't even know about FXSL. This seems to have the conciseness I was
looking for.
I'll have to reseach it more.
Thanks,
Anupam.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--