XML Parsing with Python?

Does anyone know how to parse .xml files with python and make it work in bge?
Anyone know useful links?

http://docs.python.org/py3k/library/markup.html

I probably go with the expat thing. But if You have any choice over format I would recommend going with JSON.

Thanks LaH.

I’ve used the etree stuff and lxml for Python and XML. However, as LaH said, you might want to look into JSON.