This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

sum of the evaluated values


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]