from xml.dom import minidom print minidom print minidom.Element from xml.dom.minidom import Element print Element minidom.Element from xml import dom print dom import xml print xml