def _oai_to_xml(marc_oai):  
record = MARCXMLRecord(marc_oai)<EOL>record.oai_marc = False<EOL>return record.to_XML()<EOL>
Convert OAI to MARC XML.

Args:
    marc_oai (str): String with either OAI or MARC XML.

Returns:
    str: String with MARC XML.