REALLY simple xml reader

Stefan Behnel stefan_ml at behnel.de
Fri Feb 1 01:00:54 EST 2008


Ivan Illarionov wrote:
>> Also, for XML documents, they were probably thinking that the
>> documents will be machine-generated most of the time. As far as I can
>> tell, they were right in that.
> 
> If anybody has to deal with human-generated XML/HTML in Python it may
> be better to use something like http://www.crummy.com/software/BeautifulSoup/
> 
> Bad XML markup is part of our life and there are great tools for this
> use-case too.

The good thing about 'bad XML' is that it's not XML, which is easy to tell.

Stefan



More information about the Python-list mailing list