def parse_dom(self):
        """Parse xml information in :attr:`data` and return.

        Returns:
            dict: Parsed xml data. An empty dictionary when content is blank.
        """
        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