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

minidom help -- line number

2010-08-13 Thread GZ
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 correspond minidom nodes to line numbers. Can anyone give me some hel

Python Minidom Help

2008-05-05 Thread Alok Kumar
Hi, I am reading a XML data from HTTP server and giving it to parse method. dom = parse(dataread) It throws following error File "/usr/lib/python2.3/site-packages/_xmlplus/dom/minidom.py", line 1908, in parse return expatbuilder.parse(file) File "/usr/lib/python2.3/site-packages/_xmlpl

Minidom Help

2007-04-24 Thread Robert Rawlins - Think Blue
Hello guys, Not got much experience with working with minidom, but I'm looking to parse this XML and retrieve the 'name' value from the xml. Think Blue 0x1002 1 I've got as far as parsing the XML using self.doc = xml.dom.minidom.parse(self.filepath) but that's as far as I've