Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries [Thread Prev] >Thread Next - Re: next-sibling problem next-sibling problemTo: NULL Date: 1/1/2005 2:13:00 PM I have a XMLTV data file as follows: <programme start="20050101060000 +1000" stop="20050101063000 +1000" channel="Channel Seven Brisbane"> <title>My Dad's the Prime Minister</title> <desc>Dillon Phillips is a normal 12-year-old schoolboy - except his father is the prime minister.</desc> <rating system="ABA"> <value>G</value> </rating> <length units="minutes">30</length> <category>Comedy</category> </programme> A XSL script that I'm using has the following command: <xsl:variable name="next" select="following-sibling::programme" /> The trouble is the data is sorted by programme start time so that the next-sibling is a program on a different channel. Is it possible to restate the next-sibling command so that it means, the next-sibling where the channel is the same? Regards, John. | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
