[OPEN-ILS-GENERAL] marcxml

Mike Rylander mrylander at gmail.com
Tue May 19 09:25:57 EDT 2009


2009/5/19 Levani EL <levaniele at gmail.com>:
> hello
> i generate marcxml from excel file. import in evergreen with scripts,
> but in opac view nothing. have any idea? plz see attachment
>

First, you'll want to remove the marc namespace prefix from all
elements, and from xmlns declaration as well.  In vim, you can do that
with the following two commands:

%s/marc://g
%s/xmlns:marc/xmlns/g

You may also want to change the use of subfield "b" for titles to
subfield "a".  Subfield "b" of datafield 245 is for subtitles, and I
suspect that you really want the main title.  You can do that, again
in vim, with:

%s/"b"/"a"/g

I changed the XML file you sent in both of the ways described
(attached here) and then ran it through the standard processing
scripts, and it seems to work correctly now.

-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  miker at esilibrary.com
 | web:  http://www.esilibrary.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: satesto-miker.xml
Type: text/xml
Size: 397593 bytes
Desc: not available
Url : http://libmail.georgialibraries.org/pipermail/open-ils-general/attachments/20090519/6e4b2f06/attachment-0001.bin 


More information about the Open-ils-general mailing list