You are here

How to validate the output XML?

2 posts / 0 new
Last post
doubleg
Offline
Joined: 8 years
Last seen: 4 years
How to validate the output XML?

Hi Guys,

Is there an easy way to verify the grabbed data in the epg.xml? 

I want to check the number of <channel> nodes and make sure each <channel> has at least 1 <programme> node. 

Because <channel> nodes are always created, but in case of errors like "no shows in indexpage!" there will be no <programme> nodes.

Thanks

doubleg
Offline
Joined: 8 years
Last seen: 4 years

As I am planning to generate the XML unattended via scheduled job, I wanted to check if there are missing programmes for channels. If there are I want to be the first to know it. I guess an extra python script to parse the XML after creation will do the job.

Thanks.

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl