Parse bad xml file

Rustom Mody rustompmody at gmail.com
Sun Oct 12 10:37:09 CEST 2014


On Friday, October 10, 2014 6:03:58 PM UTC+5:30, David Jobes wrote:
> On Friday, October 10, 2014 8:21:17 AM UTC-4, Peter Otten wrote:

<Elementtree XMl snipped>

> That did it, thank you, and in a lot fewer lines of code than i had, i was trying to use strings and regex. i will read up more on the xml.etree stuff.

Those who parse xml/html with re's should read this --

http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454




More information about the Python-list mailing list