def from_xml(self, parser, node, version):
        email_node = parser.get_first_child(node, self.tag)

        if email_node is None:
            return None

        email_id = parser.get_node_attribute(email_node, 'id')
        email_domain = parser.get_node_attribute(email_node, 'domain')

        return '%s@%s' % (email_id, email_domain)
dataset/ETHPy150Open tkrajina/gpxpy/gpxpy/gpxfield.py/GPXEmailField.from_xml/original