minidom help -- line number

GZ zyzhu2000 at gmail.com
Sat Aug 14 00:00:01 EDT 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?

Thanks,
gz



More information about the Python-list mailing list