def METHOD_NAME(self, xsd_sequence_node, xml_node):
    children = list(enumerate(list(xml_node)))
    for xsd_element_node in xsd_sequence_node.findall("xs:element", namespaces=self.xpath_ns):
        element_name = xsd_element_node.get("name")
        element_min_occurs = xsd_element_node.get("minOccurs")
        if len(children) == 0 or children[0][1].tag != element_name:
            if self._visit_optional_node or element_min_occurs != "0":
                index = children[0][0] if len(children) > 0 else None
                self.add_and_transform_missing_node(xsd_element_node, xml_node, new_node_index=index)
        else:
            while len(children) > 0 and children[0][1].tag == element_name:
                xml_child_node = children.pop(0)[1]
                if self.complex_type_of_element(xsd_element_node, xml_child_node) is None and not xml_child_node.text:
                    self.fill_empty_node(xsd_element_node, xml_node, xml_child_node)
                self.transform_node(xsd_element_node, xml_child_node)