def get_element_text(element):
    """Builds the element text by iterating through child elements.

    Parameters
    ----------
    element: lxml.Element
        The element for which to build text.

    Returns
    -------
    text: str
        The inner text of the element.
    """
    text = ''.join(element.itertext())
    return text