An FYI for Perl people: there is a new CPAN <http://www.cpan.org> module
available for reading, manipulating and converting MARC records--and one of the
conversions available is from MARC->XML. The documentation and download location
are available at
<http://libstaff.lib.odu.edu/depts/systems/iii/scripts/MARCpm/>.
Initially I tried using LC's programs for converting MARC records to SGML but I
got into a bit of a mess when I tried to convert the SGML to XML. I think this
was because I didn't understand the DTD properly. However, as we all know XML
doesn't *require* a DTD; so if you like Perl and need to convert from MARC to
XML you might want to take a look at MARC.pm.
And for non-Perl people there is a web interface to MARC.pm available at
<http://libstaff.lib.odu.edu/cgi-bin/marc.cgi> where you can upload a single
record or batch of records and get an XML representation of them sent back to
you. If you go to the site with IE5.0 the XML will be displayed (sans
stylesheet), and if you go with Netscape the XML will be sent back to you as a
file to download.
This is kind of a shameless plug I suppose since I am one of the five authors of
MARC.pm, but we would certainly welcome any feedback or ideas you might have for
improvement on the module--especially the manner in which we encoded the XML.
One known problem is the conversion of MARC characters into Unicode. Attached
below is a sample XML record that was generated using MARC.pm
Ed Summers
Old Dominion University
Norfolk, Virginia.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<marc>
<record>
<field type="000">03135cpc 2200397Ia 45e0</field>
<field type="001">ocm41478357 </field>
<field type="003">OCoLC</field>
<field type="005">19991029080438.0</field>
<field type="008">990603i19431979vau eng d</field>
<field type="040" i1=" " i2=" ">
<subfield type="a">VOD</subfield>
<subfield type="c">VOD</subfield>
</field>
<field type="049" i1=" " i2=" ">
<subfield type="a">VODN</subfield>
</field>
<field type="100" i1="1" i2=" ">
<subfield type="a">Babalas, Peter K.</subfield>
</field>
<field type="245" i1="1" i2="0">
<subfield type="a">Papers of Peter Kostas Babalas</subfield>
<subfield type="h">[mixed materials] :</subfield>
<subfield type="f">1943-1979.</subfield>
</field>
<field type="300" i1=" " i2=" ">
<subfield type="a">0.75 linear ft.</subfield>
</field>
<field type="351" i1=" " i2=" ">
<subfield type="a">Divided into two series: I. Legislative files. II.
Personal papers.</subfield>
</field>
<field type="506" i1=" " i2=" ">
<subfield type="a">Open to researchers without restrictions. Collection is
non-circulating and must be used in the Special Collections reading
room.</subfield>
</field>
<field type="520" i1=" " i2=" ">
<subfield type="a">The Babalas Papers span the years 1943-1979 and deal
primarily with his legislative duties as a Virginia State Senator. The
legislative files include speeches, copies of bills introduced, correspondence,
news releases, news clippings, and studies that chiefly relate to banking
legislation, the Industrial Development and Revenue Bond Act, pari-mutuel
betting, and the port of Hampton Roads. Other materials include the platform
released during his campaign for the State Senate in 1965, and his military
discharge papers.</subfield>
</field>
<field type="524" i1=" " i2=" ">
<subfield type="a">MG 17, Papers of Peter Kostas Babalas, Special
Collections, Old Dominion University, Norfolk, Va.</subfield>
</field>
<field type="540" i1=" " i2=" ">
<subfield type="a">Questions on literary property rights should be directed
to the Special Collections Coordinator.</subfield>
</field>
<field type="541" i1=" " i2=" ">
<subfield type="c">Donation;</subfield>
<subfield type="a">Peter Kostas Babalas;</subfield>
<subfield type="d">1977.</subfield>
</field>
<field type="545" i1=" " i2=" ">
<subfield type="a">Peter Kostas Babalas, son of Kostas Babalas and Katherine
B., was born July 8, 1922, in Boston, Mass. and grew up in Cambridge, Mass. He
attended a vocational high school and went on to receive an A.B. degree in
economics from Harvard College in 1945. He served in the armed forces of the
United States during World War II; his various commands included the European
Theater of Operations where he received the ETO Medal with 4 Battle Stars. In
1948, he married Lillie Macheras of Lexington; they became the parents of two
daughters, Marcia A. and Karen E. He received an L.L.B. degree from the
University of Virginia Law School in 1950 and began the practice of law in
Norfolk, Va. Babalas became a Virginia State Senator representing the 5th
District Norfolk in 1967; he served the consolidated 5th, 6th, and 7th
senatorial districts of Norfolk City and Virginia Beach City from 1968 until his
death in 1987.</subfield>
</field>
<field type="555" i1=" " i2=" ">
<subfield type="a">Finding aid available on the World Wide Web.</subfield>
</field>
<field type="600" i1="1" i2="0">
<subfield type="a">Babalas, Peter K.</subfield>
</field>
<field type="650" i1=" " i2="0">
<subfield type="a">Legislators</subfield>
<subfield type="z">Virginia</subfield>
<subfield type="z">Hampton Roads Region.</subfield>
</field>
<field type="651" i1=" " i2="0">
<subfield type="a">Virginia</subfield>
<subfield type="x">Politics and government</subfield>
<subfield type="y">1951-</subfield>
</field>
<field type="651" i1=" " i2="0">
<subfield type="a">Hampton Roads Region (Va.)</subfield>
<subfield type="x">History</subfield>
<subfield type="y">20th century.</subfield>
</field>
<field type="650" i1=" " i2="0">
<subfield type="a">Banks and banking</subfield>
<subfield type="z">Virginia</subfield>
<subfield type="x">Law and legislation.</subfield>
</field>
<field type="650" i1=" " i2="0">
<subfield type="a">Pari-mutuel betting</subfield>
<subfield type="z">Virginia</subfield>
<subfield type="x">Law and legislation.</subfield>
</field>
<field type="650" i1=" " i2="0">
<subfield type="a">Industrial promotion</subfield>
<subfield type="z">Virginia</subfield>
<subfield type="x">Law and legislation.</subfield>
</field>
<field type="650" i1=" " i2="0">
<subfield type="a">Harbors</subfield>
<subfield type="z">Virginia</subfield>
<subfield type="x">Law and legislation.</subfield>
</field>
<field type="655" i1=" " i2="7">
<subfield type="a">Bills (Legislative records)</subfield>
<subfield type="2">aat</subfield>
</field>
<field type="655" i1=" " i2="7">
<subfield type="a">Clippings.</subfield>
<subfield type="2">aat</subfield>
</field>
<field type="655" i1=" " i2="7">
<subfield type="a">Correspondence.</subfield>
<subfield type="2">aat</subfield>
</field>
<field type="655" i1=" " i2="7">
<subfield type="a">Speeches.</subfield>
<subfield type="2">aat</subfield>
</field>
<field type="856" i1="7" i2=" ">
<subfield
type="u">http://libstaff.lib.odu.edu/sgml/docs/htmldocs/ead/babalas.html</subfield>
<subfield type="2">http</subfield>
<subfield type="z">Connect to finding aid.</subfield>
</field>
<field type="994" i1=" " i2=" ">
<subfield type="a">E0</subfield>
<subfield type="b">VOD</subfield>
</field>
</record>
</marc>
Date: Thu, 28 Oct 1999 15:38:51 +1000
From: Stewart Unwin <[log in to unmask]>
Subject: MARC ==> EAD
Back in June this year there was some discussion on this list of converting
MARC records to SGML format using scripts available from the LC MARC SGML
site http://lcweb.loc.gov/marc/marcsgml.html and then using the
transformation capabilities of XSL to convert them from MARC DTD to EAD DTD.
Michael Fox mentioned that such techniques would be discussed in the EAD
Application Guidelines (which I haven't read yet).
What I need to know is where I can find a document which explicitly maps
MARC fields/sub-fields to EAD elements. Is there an "official" mapping that
I am overlooking, or are people just developing their own mappings for their
own projects? If the latter, is anyone willing to share the fruits of their
labour?
I'd be grateful for any advice.
Stewart Unwin
Web Services Branch
National Library of Australia
Tel: +61-2 6262 1544
Fax: +61-2 6273 3648
E-mail: [log in to unmask]
|