def readXmlFile(xmlFile):
 checkFile(xmlFile)
 retVal = minidom.parse(xmlFile).documentElement
 return retVal

def readXmlFile ( xmlFile ) : checkFile ( xmlFile ) retVal = minidom . parse ( xmlFile ) . documentElement return retVal
reads xml file content and returns its dom representation .