replace xml.dom.ext by xml.dom.minidom