Update: attached to this post is latest version, with all features..
**** Edit limit# of actors/guests/etc at top of .xslt file [4 and 8 seem to be good choices to start with]
I made a xslt transform that is an XMLTV epg enhancer..it adds actor/guest to description, and some other things..
[if editing large xml, it blows doors off any other method unreal performance..
for example, a single .vbs date transform using msxml took 3 minutes,
while 12 transforms in a .xslt on same file took 8 seconds! those same transforms in pure vbs took 30 mins!!]
msxsl.exe input.xml xmltv.xslt -o output.xml 2>>enhancer.log
[input and output can be the same file, overwriting input with output]
try it on your epg .xml and check out the output in notepad...i'm very happy with results..
only takes about 10 secs to edit 2 weeks worth of 150 channels data!!!
i've now deciphered most of xslt processing so can pretty much do anything i need with it...
so make any suggestions, while i can still remember it all...LOL
Works well on xp [probably win2k also w/msxml 4.0] thru win7 sp1, 64bit and 32bit equally well..no special permissions needed..
Example of output:
UltraXMLEnhancer was just too unstable, but i'm spoiled with the extras, ever since I-XmlTV enahancer from the old days...lolCode:<programme start="20120328020000 -0500" stop="20120328030000 -0500" channel="I8.28459889.microsoft.com" clumpidx="0/1"> <title lang="en">Doctor Who</title> <sub-title>Cold Blood(509)</sub-title> <desc>(05-29-2010)Scientists discover something isn't right beneath the Earth's crust. ¤ Actors: Matt Smith, Karen Gillan, Arthur Darvill ¤ Guest: Neve McIntosh, Meera Syal ¤ Director: Ashley Way </desc> <category lang="en">Drama</category> <category lang="en">Episodic</category> <category lang="en">Series</category> <subtitles type="teletext"></subtitles> <previously-shown start="20100529000000"></previously-shown> <episode-num system="onscreen">509</episode-num> <episode-num system="xmltv_ns">..1/2</episode-num> <episode-num system="dd_progid">EP00750178.0082.1/2</episode-num> </programme>
Attached below is latest version: 0.8
I will be rewriting it completely as to make it more structured and modular.. [hopefully it'll help with xml indents]
EDIT for .8: Added Paid Programming alteration, replaces them with 'Ad' and erases description..