I'm TOTALLY new to XML and need some help achieving something I'm sure is VERY simple to you all here....
I need to open an XML file my TV scheduling/recording software generates, read in some values and then output a new XML file in a new format using these values so my media center software can import the data.
Now I think XSLT is the way forward, but after much searching I just can't work out how to actually do this from a windows script.
So the source file looks like this;
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<ws_filename>(2009-06-13 16-55) TEN News At Five TEN.mpg</ws_filename>
<ws_fullfilename>D:\TV_Recordings\general\(2009-06-13 16-55) TEN News At Five TEN.mpg</ws_fullfilename>
<ws_name>TEN News At Five</ws_name>
<ws_start>Sat Jun 13 16:55:00 EST 2009</ws_start>
<ws_stop>Sat Jun 13 17:40:00 EST 2009</ws_stop>
<epg_title>TEN News At Five</epg_title>
<epg_description>A full half hour of news with extensive coverage of local, national and international news and weather. [Program info # Ten]</epg_description>
<epg_channel>Network TEN Sydney</epg_channel>
<epg_start>Sat Jun 13 17:00:00 EST 2009</epg_start>
<epg_stop>Sat Jun 13 17:30:00 EST 2009</epg_stop>
And all I need to do is extract the appropriate fields and create this in an new file called "Original_Filename JRSideCar.xml"
<LocalTitle>TEN News At Five<LocalTitle>
<Description>A full half hour of news with extensive coverage of local, national and international news and weather. [Program info # Ten]</Description>
Can anybody help me with this as I just don't know where to start??