This section of the documentation will describe specifically how to move in and out of MARC and MARCXML either for one record or a batch of records as well as mapping from MARC to another XML schema (Dublin Core, MODS, RDF, etc.). For those interested in simply examining MARC records without exporting them, MarcEdit’s MarcEditor application allows users to view a MARC record in MARC Mnemonic MarcEdit format. To do so, see Creating File for Editing in MarcEdit. This section will also cover the Character Conversion functionality and principles within MarcEdit.
While MarcEdit allows users to convert between schemas, this conversion schemas requires some configuration. In the interest of brevity, we will walk through the registering of XML functions in general rather than for each schema specifically. Essentially MarcEdit performs translations by converting an XML document written according to one schema into a MARCXML document and then out of MARCXML into a different schema. As long as MarcEdit understands how to move into MARCXML from a schema, that schema can typically be converted into MARC and from there either to MARCXML or MARC Mnemonic format. MarcEdit also allows for flexibility in how one schema is mapped to the other, but some setting of preferences is required. While there are a number of XSLT sheets which perform this transformation, there is often data loss as one might expect with this sort of transformation. This documentation will begin by walking through the registration of a given XML function and then provide more specific information for particular schemas in subsequent workflows.
To modify an existed XML function:
While there are some XSLT sheets that come with MarcEdit, they are not accessible unless manually imported into the Marc Tools functions menu. This outlines how a function can be added for future use within the MarcTools window.
This function allows users to compile a MARCXML file to MARC. Because MarcEdit does not conform to a particular MARC standard by default, changes in the order of fields or subfields within the MARCXML document will not be sorted when compiled back into MARC.