special_dragonfly <Dominic at PLEASEASK.co.uk> wrote: ... > dom=xml.dom.minidom.parseString(text_buffer) If you need to optimize code that parses XML, use ElementTree (some other parsers are also fast, but minidom ISN'T). Alex