How to extract day-of-the-week from datetime format from XML document

JordinABT

New Member
I am trying to extract the day in my XSLT stylesheet from the datetime format of XML file.Here is the one example of my code on XML document:\[code\] <forecast-period index="1" start-time-local="2010-08-07T00:00:00+10:00" end-time-local="2010-08-08T00:00:00+10:00" start-time-utc="2010-08-06T14:00:00Z" end-time-utc="2010-08-07T14:00:00Z"> <element type="forecast_icon_code">10</element> <element type="air_temperature_minimum" units="Celsius">1</element> <element type="air_temperature_maximum" units="Celsius">14</element> <text type="precis">Morning fog and frost.</text> </forecast-period>\[/code\]I want to extract the forecast of Monday from the list. I tried to search on google and found day-of-the-week function works for this but couldn't implement properly. I am new to this XSLT and XML.Can you give me some idea?
 
Back
Top