@classmethod<EOL><INDENT>def _build_list_etree(cls, parent, items):<DEDENT>
for item in items:<EOL><INDENT>if isinstance(item, dict):<EOL><INDENT>dict_element = etree.Element(parent.tag)<EOL>parent.append(cls._build_dict_etree(dict_element, item))<EOL><DEDENT>elif isinstance(item, (list, tuple, set, frozenset)):<EOL><INDENT>parent.append(cls._build_list_etree(parent, item))<EOL><DEDENT>else:<EOL><INDENT>parent.append(cls._build_base_etree(parent, parent.tag, item))<EOL><DEDENT><DEDENT>return parent<EOL>
Builds a element for a list of items.

        :param lxml.etree.Element parent: The parent element to add to
        :param list items: The list to build elements for
        :return: The built list element
        :rtype: lxml.etree.Element