[XML-SIG] xml.dom.minidom question

Fred L. Drake, Jr. fdrake at acm.org
Fri Jul 23 23:23:13 CEST 2004

On Friday 23 July 2004 05:10 pm, Hashemian, Mehdi wrote:
 > fileName = "orig.xml"
 > file = open(fileName, 'r')

I'm not sure if this is it, but any time you open an XML file to pass to a 
parser, it should be opened in binary mode:

file = open(fileName, 'rb')


Fred L. Drake, Jr.  <fdrake at acm.org>

More information about the XML-SIG mailing list