Zongzuixi114514/moonmarc/formats/marcxml does not have a README file

    MarcXmlError

    pub(all) suberror MarcXmlError {
    InvalidDocument(String)
    MissingElement(String)
    InvalidAttribute(String)
    InvalidLeader(String)
    InvalidTag(String)
    InvalidSubfield(String)
    } derive(Eq,
    Debug
    )

    Errors raised while reading or writing the supported MARCXML subset.

    MarcXmlError::to_string

    fn MarcXmlError::to_string(self : MarcXmlError) -> String

    record_from_xml

    fn record_from_xml(text : String) -> Result[
    MarcRecord
    , MarcXmlError]

    Convert one MARCXML record to a structured MARC 21 record.

    record_to_xml

    fn record_to_xml(record :
    MarcRecord
    ) -> String

    Convert one structured MARC 21 record to MARCXML.

    records_from_xml

    fn records_from_xml(text : String) -> Result[Array[
    MarcRecord
    ], MarcXmlError]

    Convert a MARCXML record or collection to structured records.

    records_to_xml

    fn records_to_xml(records : Array[
    MarcRecord
    ]) -> String

    Convert multiple records to a MARCXML collection.

    Source Files