daveomcgee
11-29-2009, 01:49 PM
Hi there,
Using XSLT - I'm looking to write code to display VideoPlusCodes, Slot date, and times from the XML below in order to show Slot date and time information from nodes where duplicate VideoPlusCodes exist. This is part of a project I'm having difficulty with getting started. I'd apreciate if anyone could help!
For example, from the following XML code snippet - I'd like to display:
12345
11/01/2010 BBC1 21:00
2/01/2010 BBC1 21:00
<Slot date='11/01/2010'>
<Channel name='BBC1' time='21:00' duration='30' rating='PG'>
<Breaks>
<!-- leave blank, used by shedulers -->
</Breaks>
</Channel>
<Title repeat='n' text='y' >News</Title>
<Description>Main News</Description>
<Category>
<Entry>News</Entry>
<SubEntry>Current Affairs</SubEntry>
</Category>
<ProgramSpecific>
</ProgramSpecific>
<VideoplusCode>12345</VideoplusCode>
<Comment>
May run late due to Soccer match
</Comment>
</Slot>
<Slot date='2/01/2010'>
<Channel name='BBC1' time='21:00' duration='30' rating='PG'>
<Breaks>
<!-- leave blank, used by shedulers -->
</Breaks>
</Channel>
<Title repeat='n' text='y' >News</Title>
<Description>Main News</Description>
<Category>
<Entry>News</Entry>
<SubEntry>Current Affairs</SubEntry>
</Category>
<ProgramSpecific>
</ProgramSpecific>
<VideoplusCode>12345</VideoplusCode>
<Comment>
</Comment>
</Slot>
Regards,
Dave.
Using XSLT - I'm looking to write code to display VideoPlusCodes, Slot date, and times from the XML below in order to show Slot date and time information from nodes where duplicate VideoPlusCodes exist. This is part of a project I'm having difficulty with getting started. I'd apreciate if anyone could help!
For example, from the following XML code snippet - I'd like to display:
12345
11/01/2010 BBC1 21:00
2/01/2010 BBC1 21:00
<Slot date='11/01/2010'>
<Channel name='BBC1' time='21:00' duration='30' rating='PG'>
<Breaks>
<!-- leave blank, used by shedulers -->
</Breaks>
</Channel>
<Title repeat='n' text='y' >News</Title>
<Description>Main News</Description>
<Category>
<Entry>News</Entry>
<SubEntry>Current Affairs</SubEntry>
</Category>
<ProgramSpecific>
</ProgramSpecific>
<VideoplusCode>12345</VideoplusCode>
<Comment>
May run late due to Soccer match
</Comment>
</Slot>
<Slot date='2/01/2010'>
<Channel name='BBC1' time='21:00' duration='30' rating='PG'>
<Breaks>
<!-- leave blank, used by shedulers -->
</Breaks>
</Channel>
<Title repeat='n' text='y' >News</Title>
<Description>Main News</Description>
<Category>
<Entry>News</Entry>
<SubEntry>Current Affairs</SubEntry>
</Category>
<ProgramSpecific>
</ProgramSpecific>
<VideoplusCode>12345</VideoplusCode>
<Comment>
</Comment>
</Slot>
Regards,
Dave.