Parsing XML on XBMC
#1
Hi there,

right now I'm kinda stuck. I want to parse an XML file by using the dom.minidom functionality in Python. But before giving it a spin on my XBMC I want to make sure what the options are for parsing XML on XBMC. I know that XML could be parsed by using RegExp but as for my taste this would result in endless lines of code which I don't really like.

Could anybody help with this? Your help is greatly appreciated... Smile

Thanks
akaigotchi
Visit http://www.xbmc-tv.com - your source for broadband (200k+) LIVE video streams on XBMC
Reply
#2
there are plenty of scripts that parse xml, just grab one and follow along.

apple movie trailers uses elementree for parsing the trailer xml's, which may be easier.

the language.py uses minidom.

grab the amt script and have a play.
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply

Logout Mark Read Team Forum Stats Members Help
Parsing XML on XBMC0