@staticmethod
def _parse_element(flow_xml, ns):
    id_ = flow_xml.get('id', None)
    name = flow_xml.get('name', None)
    description = flow_xml.get('description', None)
    webpage_url = flow_xml.get('webpageUrl', None)
    created_at = parse_datetime(flow_xml.get('createdAt', None))
    updated_at = parse_datetime(flow_xml.get('updatedAt', None))
    tags = None
    tags_elem = flow_xml.find('.//t:tags', namespaces=ns)
    if (tags_elem is not None):
        tags = TagItem.from_xml_element(tags_elem, ns)
    project_id = None
    project_name = None
    project_elem = flow_xml.find('.//t:project', namespaces=ns)
    if (project_elem is not None):
        project_id = project_elem.get('id', None)
        project_name = project_elem.get('name', None)
    owner_id = None
    owner_elem = flow_xml.find('.//t:owner', namespaces=ns)
    if (owner_elem is not None):
        owner_id = owner_elem.get('id', None)
    return (id_, name, description, webpage_url, created_at, updated_at, tags, project_id, project_name, owner_id)
@staticmethod
def _parse_element(flow_xml, ns):
    id_ = flow_xml.get('id', None)
    name = flow_xml.get('name', None)
    description = flow_xml.get('description', None)
    webpage_url = flow_xml.get('webpageUrl', None)
    created_at = parse_datetime(flow_xml.get('createdAt', None))
    updated_at = parse_datetime(flow_xml.get('updatedAt', None))
    tags = None
    tags_elem = flow_xml.find('.//t:tags', namespaces=ns)
    if (tags_elem is not None):
        tags = TagItem.from_xml_element(tags_elem, ns)
    project_id = None
    project_name = None
    project_elem = flow_xml.find('.//t:project', namespaces=ns)
    if (project_elem is not None):
        project_id = project_elem.get('id', None)
        project_name = project_elem.get('name', None)
    owner_id = None
    owner_elem = flow_xml.find('.//t:owner', namespaces=ns)
    if (owner_elem is not None):
        owner_id = owner_elem.get('id', None)
    return (id_, name, description, webpage_url, created_at, updated_at, tags, project_id, project_name, owner_id)