def get_by_tag_name(element, tag):
    """
    Get elements by tag name.
    :param element: element
    :param tag: tag string
    :return: list of elements that matches tag
    """
    results = []
    for child in element.findall('.//'):
        if tag in child.tag:
            results.append(child)
    return results