Appreciate the positive feedback. I always intended this script to just show what the xml contains, nothing further. It was the end of a mostly automated (via cron) command-line workflow. My grabber let me specify favorite channels (but this could be scripted, probably), command line tools automated weekly data downloads and sorted the data, etc.
You may have noticed that rendering the grid is fairly slow. If you have channels you don't want to see, it would be much better for my little program if they were excluded from the xml entirely.
now it shows only the channel number and not the channel name. Option to show the channel name will be appreciated
-web_stalker
It should be possible to show both. Have a look at the source of tv.xsl.
Lines 92 and following define the channel number
Lines 113 and following define a short channel name which should show in the left column
Lines 130 and following define a long channel name which (if I remember right) shows in the popup.
So you can see that each of these blocks has a conditional based on what grabber you're using. For example, lines 94-96:
<xsl:when test="$Grabber = 'tv_grab_na_dd'">
<xsl:value-of select="display-name[3]"/>
</xsl:when>
So that's telling the script to use the third (or maybe fourth? I don't remember) display-name parameter from the xml file for the channel number. It should be pretty simple to customize those three blocks for the particulars of your xml file.
Or, if you want to send me your file, I can add a new option to the preferences customized for your grabber. Always fun to try to figure out what code does 9 years later.