minidom help -- line number

GZ zyzhu2000 at
Sat Aug 14 06:00:01 CEST 2010

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 help?


More information about the Python-list mailing list