Hi.
I need help to get perl way to convert USMARC to MARCXML.
1. I found MARC::XML
http://search.cpan.org/~bbirth/MARC-XML-0.4/XML.pm
This module seems to be able to convert MARC<=>XML
2. But in the tutorial for MARC::Record
http://search.cpan.org/~mikery/MARC-Record-2.0.0/lib/MARC/Doc/Tutori
:
Can't call method "as_xml" on an undefined value at try.pl line 9.
I got the same result with the as_record_xml()
I suppose, $batch->next() does not return MARC::Record object.
2008/9/2 Galen Charlton <[EMAIL PROTECTED]>:
> Hi,
>
> On Tue, Sep 2, 2008 at 5:3
od 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" <
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