I am trying to extract the day in my XSLT stylesheet from the datetime format of XML file. I am using XSLT 1.0 and XPATH not Python, that's my limitation. Here is the one example of my code on XML document:
<forecast-period index="3" start-time-local="2010-08-09T00:00:00+10:00" end-time-local="2010-08-10T00:00:00+10:00" start-time-utc="2010-08-08T14:00:00Z" end-time-utc="2010-08-09T14:00:00Z">
<element type="forecast_icon_code">12</element>
<element type="air_temperature_minimum" units="Celsius">8</element>
<element type="air_temperature_maximum" units="Celsius">15</element>
<text type="precis">Chance of light rain.</text>
</forecast-period>
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. So, I am not getting idea how print the day from the give time.
Can you give me some idea?