XMLMARC

This site is being reorganized.  To better reflect the more distributed nature of our suite of pages, Medlane will reflect Lane-specific activities, and XOBIS will reflect broader, multi-institutional efforts.  XMLMARC will only refer to the software package under the XOBIS umbrella.  2005-03-25

XMLMARC started as a program to convert MARC (Machine Readable Cataloging) records into XML. Initially, the XMLMARC web page functioned as the home page for the Medlane project and the XMLMARC software. With the development of a Medlane schema for library information (XOBIS), the Medlane project has grown beyond the scope of the XMLMARC page. As a result, it now has its own web site. If you are interested in learning more about XOBIS, the new Medlane XML schema for library information, viewing the "XML for libraries" bibliography, or finding out more about the Medlane project in general you should visit the new Medlane project page.

Welcome to the XMLMARC page

XMLMARC and MARCUTL were designed for practical use by Lane Medical Library staff; they were also designed, however, with the hope that they might benefit others in the library community. Participation in the ongoing development and improvement of these tools by librarians, programmers, and library staff is strongly encouraged. If you are not sure of how you can help, feel free to ask the XMLMARC mailing list for ideas. If you do not like mailing lists, you may email Kevin (ksclarke@stanford.edu) directly.

A Gentle Introduction: What are XMLMARC and MARCUTL?

XMLMARC is a computer program that converts MARC records into XML. It can also update MARC records, based on plain text processing instructions, and write records to a file in the MARC format. This is useful if, for instance, a library wants to strip all fields of a particular type from any MARC record entering the library catalog, or to add a note to incoming records based on a value in one of the fixed fields. Lane Library does a fair amount of "value added" processing, saving the time of library catalogers. We are also investigating using the XMLMARC program to convert all of our MARC records into XOBIS, a new format for library information.

MARCUTL (the MARC Update and Transformation Language) is a mapping language that converts MARC into XML or MARC into "updated MARC" based on the instructions in a MARCUTL file. These files are expressed in XML and must conform to the MARCUTL schema (currently expressed in the Relax NG XML schema language; previously, we used a DTD to define the processing instructions). MARCUTL provides for several built in methods of updating or transforming MARC records, but it also provides for the creation of special MARC processing classes. These classes implement a particular interface, described in the MARCUTL API (application programming interface), and accept a MedMARC Record as input. MedMARC is a Java API for handling MARC records that was developed by the Medlane project.

Together, XMLMARC and MARCUTL provide for the easy manipulation of a library's MARC records. Unfortunately, since we are in the process of refactoring the XMLMARC programming libraries, the XMLMARC and MARCUTL documentation is a bit skimpy at this point. We are working to add new Javadoc comments so hopefully understanding the program and the MARCUTL language will be easier in the near future. If you would like to assist with documenting MARCUTL, please get in touch with us.

In the meantime, the MARCUTL schema and several example files are available for viewing or downloading from the table on the right of this page. We are in the final process of refactoring the XMLMARC code from the version that was recently mentioned in the book XML in Libraries (that version used a DTD and had a more limited implementation of MARCUTL, as well as an older version of the Medlane MARC API).

If you have any questions or would like more information, feel free to contact us through the XMLMARC mailing list.

News and Updates
09/30/2002
Refactoring XMLMARC to use the new Medlane MARC API (MedMARC) and MARCUTL Relax NG schema.

09/30/2002
Restructured Web site made public
Related Projects
Medlane Overview
XOBIS
Medlane Bibliography
MARCUTL Files
View MARCUTL.xml
XMLMARC Files
Download XMLMARC
(old version)

Browse the MedMARC API
(sometime in the distant future)

Browse the MARCUTL API
(sometime in the distant future)

SourceForge Logo