Re: minidom help -- line number

2010-08-14 Thread Ian Kelly
On Sat, Aug 14, 2010 at 11:56 AM, Thomas Jollans wrote: > The DOM is disjunct from the original file, stream, string, etc. That's in the > nature of the DOM, and it's probably true for most, if not all, DOM > implementations, in other programming languages as well as Python. > If you want to stay

Re: minidom help -- line number

2010-08-14 Thread Thomas Jollans
On Saturday 14 August 2010, it occurred to GZ to exclaim: > On Aug 14, 12:07 pm, Thomas Jollans wrote: > > On Saturday 14 August 2010, it occurred to GZ to exclaim: > > > Hi All, > > > > > > I am writing a little program that reads the minidom tree built from > > > an xml file. I would like to pr

Re: minidom help -- line number

2010-08-14 Thread GZ
On Aug 14, 12:07 pm, Thomas Jollans wrote: > On Saturday 14 August 2010, it occurred to GZ to exclaim: > > > Hi All, > > > I am writing a little program that reads the minidom tree built from > > an xml file. I would like to print out the line number of the xml file > > on the parts of the tree th

Re: minidom help -- line number

2010-08-14 Thread Thomas Jollans
On Saturday 14 August 2010, it occurred to GZ to exclaim: > Hi All, > > I am writing a little program that reads the minidom tree built from > an xml file. I would like to print out the line number of the xml file > on the parts of the tree that are not valid. But I do not seem to find > a way to