@classmethod<EOL><INDENT>def _build_list(cls, list_element, dict_type=collections.OrderedDict):<DEDENT>
result = []<EOL>for element in list_element:<EOL><INDENT>if "<STR_LIT:type>" in element.attrib:<EOL><INDENT>result.append(cls._build_base(element))<EOL><DEDENT>else:<EOL><INDENT>if all((_.tag == element.tag) for _ in element):<EOL><INDENT>result.append(cls._build_list(element))<EOL><DEDENT>else:<EOL><INDENT>result.append(cls._build_dict(element, dict_type=dict_type))<EOL><DEDENT><DEDENT><DEDENT>return result<EOL>
Builds a list entry from a list parent element.

        :param lxml.etree.Element list_element: The element to build from
        :param class dict_type: The dictionary class to build with, defaults to
            :class:`collections.OrderedDict`, optional
        :return: The built list
        :rtype: list