MARCXML and MarcEdit Gordon Dunsire Depute Director Centre for Digital Library Research Presented to...

Post on 14-Dec-2015

218 views 1 download

Transcript of MARCXML and MarcEdit Gordon Dunsire Depute Director Centre for Digital Library Research Presented to...

MARCXML and MarcEdit

Gordon DunsireDepute Director

Centre for Digital Library Research

Presented to the seminar “Introduction to MARCXML”, National Library of Scotland, Edinburgh, 5 May 2006, organised by the Cataloguing and Indexing Group in Scotland

MARCXML

“evolutionary path into XML for MARC21”Continuing investment in MARC formatProliferation of other schemasRapidly-growing XML environment

Mid-1990s: SGML DTDs for MARC21Bibliographic; AuthorityVery large, every element specified

Early 2000s: XML schema for MARC21MARCXML, “slim”Lossless roundtrip conversion

MARCXML elements

High-level elements<collection> and <record>Specify multiple records and single record

MARC field tags and indicators treated as attributesOnly 3 first-level elements requiredHence “slim”

MARCXML first-level elements

<leader>Treated as a string

<controlfield>Treated as a string

<datafield>Attributes for tag and indicatorsChild element <subfield>

Repeated for each subfieldAttribute for subfield code

MARCXML tools

MARCXML website (Library of Congress)http://www.loc.gov/standards/marcxml/Conversion tools, stylesheets

IFLA paper by Sally McCallumhttp://www.ifla.org/IV/ifla71/papers/175e-

McCallum.pdfMarcEdit

About MarcEdit

Free utility for editing MARC recordsDeveloped by Terry Reece of Oregon State

UniversityFrom 2000 onwards

Currently in full release version 4.5Version 5.0 in beta version

http://oregonstate.edu/~reeset/marcedit/Downloads, more information

MarcEdit functionality [1]

MarcBreaker/MarcMakerConversion between MARC Exchange and

Display formatsConversion between MARC Exchange and

MARCXMLXSLTs for conversion between MARCXML

and Dublin Core, Encoded Archival Description, Metadata Object Description Schema, etc.

MarcEdit functionality [2]

And a lot more …MARC editor to create and amend recordsMARC templates for the editorZ39.50 clientScript (macro) writer to allow sequences of

functions to be repeatedly appliedHelpTutorials

MarcEdit tools

window

Examples of MarcEdit conversion

Using a single MARC21 recordConversion from exchange to display

formatConversion to MARCXMLConversion to Dublin CoreConversion to MODS (Metadata Object

Description Schema)Simpler version of MARC21 in XML

Conversion to OAI (Open Archives Initiative) Dublin Core

01191nam 2200253Ka 45 0001001300000003000600013005001700019008004100036040001300077092001500090049000900105100002100114245012500135260006100260538003600321500008100357538007300438500012800511650004700639610004100686711007900727856011900806994001200925ocm67705864 OCoLC20060426101930.0060426s2006 stk s 100 0 eng d aCX@cCX@0 a025.04222 aCX@A1 aDunsire, Gordon.14aThe Centre for Digital Library Research and the common information environmenth[electronic resource] /cGordon Dunsire. aGlasgow :bCentre for Digital Library Research,c[2006]. aMode of access: World Wide Web. aTitle from title screen. Description based on contents viewed Apr. 26, 2006. aSystem requirements: Plug-in viewer for Adobe Acrobat PDF documents. a"The text of a presentation given to the 8th seminar on Archives, Libraries, Museums, 24-26 November 2004, Porec, Croatia." 0aInformation storage and retrieval systems.24aCentre for Digital Library Research.2 aArchives, Libraries, Museums (Conference)n(8th :d2004 :cPorec, Croatia)40acdlr.strath.ac.ukdpubs/dunsiregfcdlrcie.pdfuhttp://cdlr.strath.ac.uk/pubs/dunsireg/cdlrcie.pdfqapplication/pdf aC0bCX@

MARC21 (exchange) record downloaded from OCLC WorldCat

=LDR 01191nam 2200253Ka 45 0=001 ocm67705864\=003 OCoLC=005 20060426101930.0=008 060426s2006\\\\stk\\\\\s\\\\\100\0\eng\d=040 \\$aCX@$cCX@=092 0\$a025.04$222=049 \\$aCX@A=100 1\$aDunsire, Gordon.=245 14$aThe Centre for Digital Library Research and the common information environment$h[electronic resource] /$cGordon Dunsire.=260 \\$aGlasgow :$bCentre for Digital Library Research,$c[2006].

MARC21 display format (using MARCBreaker) [1]

=538 \\$aMode of access: World Wide Web.=500 \\$aTitle from title screen. Description based on contents viewed Apr. 26, 2006.=538 \\$aSystem requirements: Plug-in viewer for Adobe Acrobat PDF documents.=500 \\$a"The text of a presentation given to the 8th seminar on Archives, Libraries, Museums, 24-26 November 2004, Porec, Croatia."=650 \0$aInformation storage and retrieval systems.=610 24$aCentre for Digital Library Research.=711 2\$aArchives, Libraries, Museums (Conference)$n(8th :$d2004 :$cPorec, Croatia)=856 40$acdlr.strath.ac.uk$dpubs/dunsireg$fcdlrcie.pdf$uhttp://cdlr.strath.ac.uk/pubs/dunsireg/cdlrcie.pdf$qapplication/pdf=994 \\$aC0$bCX@

MARC21 display format (using MARCBreaker) [2]

<?xml version="1.0" encoding="UTF-8" ?><collection xmlns="http://www.loc.gov/MARC21/slim" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd"><record><leader>01191nam a2200253Ka 45 0</leader><controlfield tag="001">ocm67705864 </controlfield>

<controlfield tag="003">OCoLC</controlfield>

<controlfield tag="005">20060426101930.0</controlfield>

<controlfield tag="008">060426s2006 stk s 100 0 eng d</controlfield>

<datafield tag="040" ind1=" " ind2=" "><subfield code="a">CX@</subfield><subfield code="c">CX@</subfield></datafield>

MARCXML format (using MARC>MARCXML) [1]

<datafield tag="092" ind1="0" ind2=" "><subfield code="a">025.04</subfield><subfield code="2">22</subfield></datafield>

<datafield tag="049" ind1=" " ind2=" "><subfield code="a">CX@A</subfield></datafield>

<datafield tag="100" ind1="1" ind2=" "><subfield code="a">Dunsire, Gordon.</subfield></datafield>

<datafield tag="245" ind1="1" ind2="4"><subfield code="a">The Centre for Digital Library Research and the common information environment</subfield><subfield code="h">[electronic resource] /</subfield><subfield code="c">Gordon Dunsire.</subfield></datafield>

MARCXML format (using MARC>MARCXML) [2]

<datafield tag="245" ind1="1" ind2="4"><subfield code="a">The Centre for Digital Library Research and the common information environment</subfield><subfield code="h">[electronic resource] /</subfield><subfield code="c">Gordon Dunsire.</subfield></datafield>

<datafield tag="260" ind1=" " ind2=" "><subfield code="a">Glasgow :</subfield><subfield code="b">Centre for Digital Library Research,</subfield><subfield code="c">[2006].</subfield></datafield>

<datafield tag="538" ind1=" " ind2=" "><subfield code="a">Mode of access: World Wide Web.</subfield></datafield>

<datafield tag="500" ind1=" " ind2=" "><subfield code="a">Title from title screen. Description based on contents viewed Apr. 26, 2006.</subfield></datafield>

MARCXML format (using MARC>MARCXML) [3]

<datafield tag="538" ind1=" " ind2=" "><subfield code="a">System requirements: Plug-in viewer for Adobe Acrobat PDF documents.</subfield></datafield>

<datafield tag="500" ind1=" " ind2=" "><subfield code="a">&quot;The text of a presentation given to the 8th seminar on Archives, Libraries, Museums, 24-26 November 2004, Porec, Croatia.&quot;</subfield></datafield>

<datafield tag="650" ind1=" " ind2="0"><subfield code="a">Information storage and retrieval systems.</subfield></datafield>

<datafield tag="610" ind1="2" ind2="4"><subfield code="a">Centre for Digital Library Research.</subfield></datafield>

MARCXML format (using MARC>MARCXML) [4]

<datafield tag="711" ind1="2" ind2=" "><subfield code="a">Archives, Libraries, Museums (Conference)</subfield><subfield code="n">(8th :</subfield><subfield code="d">2004 :</subfield><subfield code="c">Porec, Croatia)</subfield></datafield>

<datafield tag="856" ind1="4" ind2="0"><subfield code="a">cdlr.strath.ac.uk</subfield><subfield code="d">pubs/dunsireg</subfield><subfield code="f">cdlrcie.pdf</subfield><subfield code="u">http://cdlr.strath.ac.uk/pubs/dunsireg/cdlrcie.pdf</subfield><subfield code="q">application/pdf</subfield></datafield>

<datafield tag="994" ind1=" " ind2=" "><subfield code="a">C0</subfield><subfield code="b">CX@</subfield></datafield>

</record></collection>

MARCXML format (using MARC>MARCXML) [5]

<?xml version="1.0"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"><rdf:Description><dc:title>The Centre for Digital Library Research and the common information environment [electronic resource] /</dc:title><dc:creator> Dunsire, Gordon. </dc:creator><dc:creator> Archives, Libraries, Museums (Conference) (8th : 2004 : Porec, Croatia) </dc:creator><dc:type>text</dc:type><dc:publisher>Glasgow : Centre for Digital Library Research,</dc:publisher><dc:date>[2006].</dc:date><dc:language>eng</dc:language><dc:format>application/pdf</dc:format>

Dublin Core (RDF) format (using MARC>Dublin Core) [1]

<dc:description>Mode of access: World Wide Web.</dc:description><dc:description>Title from title screen. Description based on contents viewed Apr. 26, 2006.</dc:description><dc:description>System requirements: Plug-in viewer for Adobe Acrobat PDF documents.</dc:description><dc:description>"The text of a presentation given to the 8th seminar on Archives, Libraries, Museums, 24-26 November 2004, Porec, Croatia."</dc:description><dc:subject>Centre for Digital Library Research.</dc:subject><dc:subject>Information storage and retrieval systems.</dc:subject><dc:identifier>http://cdlr.strath.ac.uk/pubs/dunsireg/cdlrcie.pdf</dc:identifier></rdf:Description></rdf:RDF>

Dublin Core (RDF) format (using MARC>Dublin Core) [2]

<?xml version="1.0"?><modsCollection xsi:schemaLocation="http://www.loc.gov/mods/v3 http://www.loc.gov/standards/mods/v3/mods-3-0.xsd" xmlns="http://www.loc.gov/mods/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><mods version="3.0"><titleInfo><nonSort>The </nonSort><title>Centre for Digital Library Research and the common information environment</title></titleInfo><name type="personal"><namePart>Dunsire, Gordon.</namePart><role><roleTerm authority="marcrelator" type="text">creator</roleTerm></role></name><name type="conference"><namePart>Archives, Libraries, Museums (Conference) 2004 : Porec, Croatia)</namePart></name>

MODS format (using MARC21CML>MODS) [1]

<typeOfResource>text</typeOfResource><genre authority="marc">conference publication</genre><originInfo><place><placeTerm type="code" authority="marccountry">stk</placeTerm></place><place><placeTerm type="text">Glasgow</placeTerm></place><publisher>Centre for Digital Library Research</publisher><dateIssued>[2006]</dateIssued><dateIssued encoding="marc">2006</dateIssued><issuance>monographic</issuance></originInfo><language><languageTerm authority="iso639-2b" type="code">eng</languageTerm></language><physicalDescription><form authority="marcform">electronic</form><form authority="gmd">electronic resource</form><internetMediaType>application/pdf</internetMediaType></physicalDescription>

MODS format (using MARC21CML>MODS) [2]

<note type="statement of responsibility">Gordon Dunsire.</note><note>Title from title screen. Description based on contents viewed Apr. 26, 2006.</note><note>"The text of a presentation given to the 8th seminar on Archives, Libraries, Museums, 24-26 November 2004, Porec, Croatia."</note><note>Mode of access: World Wide Web.</note><note>System requirements: Plug-in viewer for Adobe Acrobat PDF documents.</note><subject authority="lcsh"><topic>Information storage and retrieval systems</topic></subject><subject><name type="corporate"><namePart>Centre for Digital Library Research.</namePart></name></subject>

MODS format (using MARC21CML>MODS) [3]

<identifier type="uri">http://cdlr.strath.ac.uk/pubs/dunsireg/cdlrcie.pdf</identifier><location><url>http://cdlr.strath.ac.uk/pubs/dunsireg/cdlrcie.pdf</url></location><recordInfo><recordContentSource authority="marcorg">CX@</recordContentSource><recordCreationDate encoding="marc">060426</recordCreationDate><recordChangeDate encoding="iso8601">20060426101930.0</recordChangeDate><recordIdentifier source="OCoLC">ocm67705864 </recordIdentifier></recordInfo></mods></modsCollection>

MODS format (using MARC21CML>MODS) [4]

<?xml version="1.0"?><oai_dc:dc xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dc="http://purl.org/dc/elements/1.1/"><dc:title>The Centre for Digital Library Research and the common information environment [electronic resource] /</dc:title><dc:creator> Dunsire, Gordon. </dc:creator><dc:creator> Archives, Libraries, Museums (Conference) (8th : 2004 : Porec, Croatia) </dc:creator><dc:type>text</dc:type>

Dublin Core (OAI) format (using MARC21XML>OAI Dublin Core) [1]

<dc:publisher>Glasgow : Centre for Digital Library Research,</dc:publisher><dc:date>[2006].</dc:date><dc:language>eng</dc:language><dc:format>application/pdf</dc:format><dc:description>Mode of access: World Wide Web.</dc:description><dc:description>System requirements: Plug-in viewer for Adobe Acrobat PDF documents.</dc:description><dc:subject>Centre for Digital Library Research.</dc:subject><dc:subject>Information storage and retrieval systems.</dc:subject><dc:identifier>http://cdlr.strath.ac.uk/pubs/dunsireg/cdlrcie.pdf</dc:identifier></oai_dc:dc>

Dublin Core (OAI) format (using MARC21XML>OAI Dublin Core) [2]

<xsl:for-each select="marc:datafield[@tag=245]"> <dc:title> <xsl:call-template name="subfieldSelect"> <xsl:with-param name="codes">abfghk</xsl:with-param> </xsl:call-template> </dc:title></xsl:for-each>

<xsl:for-each select="marc:datafield[@tag=100]|marc:datafield[@tag=110]|marc:datafield[@tag=111]|marc:datafield[@tag=700]|marc:datafield[@tag=710]|marc:datafield[@tag=711]|marc:datafield[@tag=720]"> <dc:creator> <xsl:value-of select="."/> </dc:creator></xsl:for-each>

XSLT for MARCXML>OAI Dublin Core) [extract]