Link to home
Start Free TrialLog in
Avatar of juliemcnichols
juliemcnichols

asked on

How to parse minutes from time in XSL & compare values?

I'm using XSL to generate a web page with formatted data.  my XML response retuns a field with a value of HH:MM:SS.  I want to check to see if the minute value is >2 and change a table background color based on the result of this test.

Let's say the xml loks like this:
<STATS>
<WAITTIME>00:03:29</WAITTIME>
</STATS>

How can I format XSL to read minute value, compare to see if >2  ( I can take care of setting class attribute to change background color once I get minute value)
Avatar of Gurvinder Pal Singh
Gurvinder Pal Singh
Flag of India image

ASKER CERTIFIED SOLUTION
Avatar of Gertone (Geert Bormans)
Gertone (Geert Bormans)
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial