Download presentation
Presentation is loading. Please wait.
Published byFrank Hunt Modified over 9 years ago
1
MARC and XML ELAG 17-19 April 2002, Rome Mette Båstrup mbl@portia.dk www.portia.dk
2
ELAG 2002Mette Båstrup-Larsen, Portia2 Overview Introduction What has been done and what to achieve XML Schema specifications Gaining consensus
3
ELAG 2002Mette Båstrup-Larsen, Portia3 Why XML for MARC? Widespread standard technologies http://www.w3c.org http://www.w3c.org XML (data structure) XSD schemas for specification replacing DTD and XDR schemas XSL (presentation and customised validation) Standard tools available (IBM, Microsoft, XML Spy)
4
ELAG 2002Mette Båstrup-Larsen, Portia4 What has been done in this area? Library of Congress MARC DTD ftp://ftp.loc.gov/pub/xmldtd/mrcbfile.dtd Open Archive Initiative (OAI) MARC XML http://www.openarchives.org/OAI/oai_mar c.xsd VisualCat XDR and XSD schemas
5
ELAG 2002Mette Båstrup-Larsen, Portia5 Related technologies Dublin Core RDF XML http://dublincore.org/documents/2001/11/ 28/dcmes-xml/ http://www.portia.dk/pubs/RDF/DcRdfBasi c20020321a.xsd MODS from Library of Congress http://www.loc.gov/standards/mods/
6
ELAG 2002Mette Båstrup-Larsen, Portia6 MARC validation rules Syntax rules Format rules e.g. 5 digit subfield List of valid codes ISBN validation Context dependent rules If subfield a is 10 then subfield b is 20 Sequences of subfields in a field e.g. a e a e a e b k l
7
ELAG 2002Mette Båstrup-Larsen, Portia7 Problems when going to XML MARC records are not self identifying Tag names (characters not allowed as an XML element name) Character sets No formal specification of MARC records User specified fields in the header Non valid MARC records
8
ELAG 2002Mette Båstrup-Larsen, Portia8 Goals for XML Schemas Self identifying MARC records Specifying rules: General MARC 2709 rules Rules for the different MARC flavours Rules for a specific application Use built-in schema validation Extend schemas with application specific information
9
ELAG 2002Mette Båstrup-Larsen, Portia9 The general MARC Schema Specifications at: http://www.portia.dk/pubs/VisualCat/Specs/M arcXml/MarcTemplate2.xsd http://www.portia.dk/pubs/VisualCat/Specs/M arcXml/MarcTemplate2.xsd Specifying general information: MARC record incl. MARC header MARC field MARC subfield No specification of specific fields e.g. Field 001, Field 002 etc.
10
ELAG 2002Mette Båstrup-Larsen, Portia10 General MARC schema excerpt
11
ELAG 2002Mette Båstrup-Larsen, Portia11 The specific MARC flavour schema Specification at: http://www.portia.dk/pubs/VisualCat/Sp ecs/MarcXml/danMarc2Template2.xsd http://www.portia.dk/pubs/VisualCat/Sp ecs/MarcXml/danMarc2Template2.xsd Specifying record for a given MARC flavour i.e MARC21, UNIMARC etc. Specifying validation rules Redefining the schema for a given situation e.g. cataloguing music
12
ELAG 2002Mette Båstrup-Larsen, Portia12 Specific MARC flavour schema excerpt I Personnavn
13
ELAG 2002Mette Båstrup-Larsen, Portia13 Specific MARC flavour schema excerpt II
14
ELAG 2002Mette Båstrup-Larsen, Portia14 What has been gained? Platform independent specification of MARC format Can be used directly in an application with freely available standard tools Can be read and maintained by non technicians To be determined: Schema for exchange of MARC records based on OAI MARC/XML
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.