Need help in transforming xml to xsl. I am trying to create a timetable and am trying to transform the xml data that i have into an xsl data.
<Timetable>
<Week>
<Day DayID = "Monday"></Day>
<Day DayID = "Tuesday">
<Session no = "1">
<Module type = "CMT111">
<ModuleName> CPM </ModuleName>
</Module>
<Time>9.00am-10.59am</Time>
<Room>222</Room>
</Session>
<Session no = "2">
<Module type = "CMT213">
<ModuleName> Software </ModuleName>
</Module>
<Time>2.00pm-3.59pm</Time>
<Room>316</Room>
</Session>
<Session no = "3">
<Module type = "CMT213">
<ModuleName> Software </ModuleName>
</Module>
<Time>4.30pm-5.29pm</Time>
<Room>67</Room>
</Session>
</Day>
<Day DayID = "Wednesday">
<Session no = "4">
<Module type = "ACC33">
<ModuleName> ACC </ModuleName>
</Module>
<Time>10.00am-11.59am</Time>
<Room>065</Room>
</Session>
<Session no = "5">
<Module type = "TP213">
<ModuleName> trial </ModuleName>
</Module>
<Time>1.00pm-1.59pm</Time>
<Room>316</Room>
</Session>
</Day>
<Day DayID = "Thursday">
<Session no = "6">
<Module type = "ACC382">
<ModuleName> ACCOUNTING </ModuleName>
</Module>
<Time>11.00am-12:59am</Time>
<Room>117</Room>
</Session>
<Day DayID = "Friday"></Day>
</Day>
<Day DayID = "Saturday"></Day>
<Day DayID = "Sunday"></Day>
</Week>
</Timetable>
If its hard to create a timetable with this xml then i dont mind if its changed to create it.