As much as I love BeautifulSoup, for parsing valid XML with
namespaces, isn't more appropriate a real XML parser?
Something like ElementTree, that is included by default in Python 2.5
and later (and can be installed in older versions).
See: http://docs.python.org/library/xml.etree.elementtree.html
--
Lino Mastrodomenico
Beautiful Soup seems to handle XML namespaces reasonably well. There
are a couple of modifications to sgmllib's regular expressions that
make sgmllib handle namespaces correctly. When querying I just use
find*("ns:tagname"). There's no particular need to do something
special. Unless, of course, I don't understand that part of Beautiful
Soup. :P
-Aaron