I can see where Bryan was going with this--but unfortunately
delete_field() does not operate on a list of fields!! I just checked
in delete_fields() and a test for it...but that's not going to help
Michael right now. Here's how I'd delete all but the first 035:
# get a list of all 035 fields i
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
On Monday, July 16, 2007 8:41 AM, Michael Bowden wrote:
>Our MARC records have several 035 fields. I want to delete all of the 035s
>except for the 1st one.
I've modified your code below, removing the foreach field loop. The modified
code remains unfinished, as I'll leave it to you to determine
Hi:
I have used MARC::Record for several years now. I finally have hit a snag in
processing MARC records. Our MARC records have several 035 fields. I want to
delete all of the 035s except for the 1st one. I have tried several things to
accomplish this task without any luck. I have tried t