MARC::File::XML

[email protected] ("Shieh, Jackie")
Newsgroups perl.perl4lib
Message-ID <4F4633A529C77E4BA8E32D3D6053C1D302636E49@ECLUST2-VS4.adsroot.itcs.umich.edu>
I was wondering why MARC::File::XML did not work with #2 file?!

 

1: a single record: http://www.loc.gov/standards/marcxml/Sandburg/sandburg.xml 

2: a collection set: http://www.loc.gov/standards/marcxml/xml/collection.xml 

 

The differences I noticed of the two are the prefix (marc:collection) and suffix (xmlns:marc). Were they the cause that reading MARC::File::XML outputting to MARC communication failed or something else?  Any suggestion?!  

 

1. 

<collection xmlns="http://www.loc.gov/MARC21/slim">

 <record>

  <leader>01142cam 2200301 a 4500</leader> 

  <controlfield tag="001">92005291</controlfield> 

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

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

<controlfield tag="008">920219s1993 caua j 000 0 eng</controlfield>  

 

2.

<marc:collection xmlns:marc="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">

 <marc:record>

  <marc:leader>00925njm 22002777a 4500</marc:leader> 

  <marc:controlfield tag="001">5637241</marc:controlfield> 

  <marc:controlfield tag="003">DLC</marc:controlfield> 

  <marc:controlfield tag="005">19920826084036.0</marc:controlfield> 

  <marc:controlfield tag="007">sdubumennmplu</marc:controlfield> 

  <marc:controlfield tag="008">910926s1957 nyuuun eng</marc:controlfield>

 

Thank you!!

 

--Jackie

 

|Jackie Shieh

|Data Loads & Development

|Harlan Hatcher Graduate Library

|University of Michigan

|920 North University

|Ann Arbor, MI  48109-1205

|Phone: 734.763.6070   FAX: 734.615.5138

|E-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.