Re: How convert data from USMARC to MARCXML using MARC::Record and it's derivatives? MARC.pm vs. MARC::Record.pm

[email protected] ("Dmitry Arsentiev")
Newsgroups perl.perl4lib
Message-ID <[email protected]>
Galen, I'm sorry, It works correctly.

I made mistake with typing in the name of the source file.

I've just changed it
from 01al2008.mrf
    to 01al2007.mrf
and script became ready.

Thank you!


2008/9/2 Galen Charlton <[email protected]>:
> Hi,
>
> On Tue, Sep 2, 2008 at 5:33 AM, Dmitry Arsentiev <[email protected]> wrote:
>> The question #1: Would it be right to develop my scripts with MARC.pm
>> and MARC::XML.pm,
>>                         or I should to develop only with MARC::Record
>
> I'd recommend using MARC::Record and MARC::File::XML.
>
>> The question #2: If  I should to develop MARC::Record-based script,
>>                         can I easy convert from MARC to MARCXML,
>>                         or I've to write handler for each field I got
>> from MARC?
>
> It can be as easy as loading a MARC record into a MARC::Record object
> (e.g., $marc), then using the output of $marc->as_xml() or
> $marc->as_xml_record().
>
> Regards,
>
> Galen
> --
> Galen Charlton
> VP, Research & Development, LibLime
> [email protected]
> p: 1-888-564-2457 x709
> skype: gmcharlt
>
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.