RC wrote: > By default the > > document = xml.dom.minidom.parse(inputFileName.xml) > > This will convert all the & to & > But I want to convert the & back to & > > Is there a module or method in Python? > I know there is such method in PHP, but I am > new in Python. >>> from xml.sax import saxutils >>> saxutils.escape("&") '&' >>> Diez