code: def parse_dom(self):
          
          if self.dom is None:
              return {}
          else:
              domain = {}
              for child in self.dom:
                  if len(child) == 0:
                      domain[child.tag] = child.text
                  else:
                      domain[child.tag] = [c.items() for c in child]
  
              return domain
docs: Parse xml information in :attr:`data` and return.
  
          Returns:
              dict: Parsed xml data. An empty dictionary when content is blank.