Skip to Main Content

University Library, University of Illinois at Urbana-Champaign

MarcEdit

An introduction to the MARC record editing software MarcEdit

Overview

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. 

Modifying an XML Function

To modify an existed XML function:

  1. Open MarcEdit from Start Menu
  2. Select MARC Tools then select Tools->Edit XML functions list from the top of the dialog box.  

                                       480

  1. Select the function you would like to modify from the drop-down list on the left and click "Modify." You will see information about the function in the right. Modify the function and then click "Save."

                                       480

                                       480

  1. One could also add a new or delete an existing function by clicking the "Add" or "Delete" button on the left.

Registering an 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.

Converting Record from XML to MARC

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.

  1. Open MarcEdit from Start Menu
  2. Select MARC Tools
  3. Highlight MARC21XML => MARC21 in the Functions menu
  4. Click the yellow folder to select the MARC file you would like to convert into MARC. Once you hit open in the folder window the directory will appear next to the folder icon.
  5. Click the yellow folder next to Output file to designate the filename for the MARC file you will use after the conversion. If the previous transformation converted a file to .mrc or .mrk you may have to change this manually.
  6. MarcEdit will automatically encode the new file using UTF-8. If you need the converted file to be encoded in MARC-8 select the “Translate to MARC-8” box. If the file is in MARC-8 and you would like it encoded using UTF-8 select “Translate to UTF8.”
  7. Once you are ready, click Execute.
  8. The converted file can now be found in the directory specified in step 5.