Raghuram Devarakonda added the comment: I forgot to show dom.py source.
marvin:cpython$ cat dom.py import xml.dom.minidom as dom data = open('testdata.txt','r').read() mydom = dom.parseString(data) mydom.firstChild.childNodes __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1290> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com