This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
sum of the evaluated values
- From: Al Yurov <alml at incap dot ru>
- To: XSL-List Digest <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 22 Nov 2001 13:02:28 +0300
- Subject: [xsl] sum of the evaluated values
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi!
i have xml:
<event type="1" time="3:00">
<event type="0" time="2:00">
<event type="1" time="4:00">
<event type="1" time="5:00">
and i need sum of the minutes: number(substring-before(@time,':'))
only where @type=1.
How it can be done?
--
Best regards,
Al
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list