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 -- http://mail.python.org/mailman/listinfo/python-list