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]

 

Reply via email to