This module exists to provide ability to convert from AMQP data structures to Aleph’s data structures, specifically to convert MARCXMLRecord to EPublication simplified data structure.
Convert MARCXMLRecord object to EPublication named tuple.
Parameters: | marcxml (str/MARCXMLRecord) – MarcXML which will be converted to EPublication. In case of str, <record> tag is required. |
---|---|
Returns: | EPublication – named tuple with data about publication. |
See also
aleph.datastructures.epublication for details of EPublication, structure.