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</WAITTI ME>
</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)
Let's say the xml loks like this:
<STATS>
<WAITTIME>00:03:29</WAITTI
</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)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.dpawson.co.uk/xsl/rev2/dates.html