Note that if you're working with XML at the record level that
MARC::File::XML has a bug (the logic for the 'as_xml_record' method is
reversed with respect to outputting XML headers).

See this:

  http://rt.cpan.org/Public/Bug/Display.html?id=34082

It won't affect simple conversion, but is worth knowing about and fixing.


On 9/2/08 11:04 AM, "Galen Charlton" <[EMAIL PROTECTED]> wrote:

> 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

-- 
Bill Dueber
Library Systems Programmer
University Library, University of Michigan
734.615.0412

Reply via email to