def insert_entries(self, entries_xml, taxids=None):
entries = etree.fromstring(entries_xml)<EOL>del entries_xml<EOL>for entry in entries:<EOL><INDENT>self.insert_entry(entry, taxids)<EOL>entry.clear()<EOL>del entry<EOL><DEDENT>entries.clear()<EOL>del entries<EOL>self.session.commit()<EOL>
Inserts UniProt entries from XML

        :param str entries_xml: XML string
        :param Optional[list[int]] taxids: NCBI taxonomy IDs