Hi,

I have to parse some text which pretends to be XML. lxml does not want
to parse it, because it lacks a root element.
I think that this situation is not unusual, so: is there a way to
force lxml to parse it ?

My work around is wrapping the text with "<root>...</root>" before
feeding lxmls parser.

Greetings, Uwe
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to