Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Original thread:
Post 8 made on Wednesday April 9, 2008 at 21:49
Wishmaster
Long Time Member
Joined:
Posts:
March 2008
42
*** I GOT IT !!!!! *** :D :D :D :D
*** I GOT IT !!!!! *** :D :D :D :D
*** I GOT IT !!!!! *** :D :D :D :D

what was missing: xmldata = new XML(parsed_web_content)

so:
after fetching the XML data from a webserver (or any other source) you have to "convert" it into "true" XML with "xmlPage = new XML(data)"
Then you can access the XML as usual.

"Thank you" Philips, for this "well" documented Development guide !!! :-(
Would it really have been this hard to leave a word about this command in the manual ???????

...since parsing XML makes only sense if you load it from a webserver or who would integrate XML in it's source code???


OH MAN! anyway ... I'm so happy now, that it works!
And I hope that I could help others too! (since e.g. the writer of the weather module also had to use a workaround with hundreds of IndexOf, substr,... to get the XML data)

So after 4 days spending my time finding out how to parse XML data, I can finally start my ProntoEPG project.
... which will also be "open source" like my ProntoTV

final words: HAPPY CODING, FRIENDS ! :-)


Hosting Services by ipHouse