lxml question

alex23 wuwei23 at gmail.com
Fri Sep 26 21:06:59 EDT 2008


On Sep 27, 1:19 am, Uwe Schmitt <rocksportroc... at googlemail.com>
wrote:
> I have to parse some text which pretends to be XML. lxml does not want
> to parse it, because it lacks a root element.

Another option is BeautifulSoup, which handles badly formed XML really
well:

http://www.crummy.com/software/BeautifulSoup/



More information about the Python-list mailing list