Re: Parse bad xml file

2014-10-12 Thread Rustom Mody
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: > 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. Tho

Re: Parse bad xml file

2014-10-10 Thread David Jobes
On Friday, October 10, 2014 8:21:17 AM UTC-4, Peter Otten wrote: > David Jobes wrote: > > > > > I was given a badly or poor formatted xml file that i need to convert to > > > csv file: > > > > There are no "badly formatted" XML files, only valid and invalid ones. > > Fortunately following

Re: Parse bad xml file

2014-10-10 Thread Peter Otten
David Jobes wrote: > I was given a badly or poor formatted xml file that i need to convert to > csv file: There are no "badly formatted" XML files, only valid and invalid ones. Fortunately following looks like the beginning of a valid one. > > http://exslt.org/dynamic";> > > > >