code: def __get_xml_text(root):
      
      txt = ""
      for e in root.childNodes:
          if (e.nodeType == e.TEXT_NODE):
              txt += e.data
      return txt
docs: Return the text for the given root node (xml.dom.minidom).