I am trying to display the weather details from the XML into the table according to its date. eg. 12th Jun Sat it is 23-28 deg etc. However, I am not able to insert the details into the correct column. I have tried to use xsl:if and xsl:when but to no avail. I am not sure which function to use to point it to the correct day.