def marcxml2mods(marc_xml, uuid, url):
marc_xml = _read_content_or_path(marc_xml)<EOL>return type_decisioner(<EOL>marc_xml,<EOL>lambda: transform_to_mods_mono(marc_xml, uuid, url),<EOL>lambda: transform_to_mods_multimono(marc_xml, uuid, url),<EOL>lambda: transform_to_mods_periodical(marc_xml, uuid, url),<EOL>)<EOL>
Convert `marc_xml` to MODS. Decide type of the record and what template to
use (monograph, multi-monograph, periodical).

Args:
    marc_xml (str): Filename or XML string. Don't use ``\\n`` in case of
                    filename.
    uuid (str): UUID string giving the package ID.
    url (str): URL of the publication (public or not).

Returns:
    list: Collection of transformed xml strings.