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

2008-09-03 Thread Dmitry Arsentiev
Thank you for your answer, Galen. Unfortunately, my simple script does not work. Here it is. -- #!/usr/bin/perl use MARC::Record; use MARC::Batch; use MARC::File::XML ( BinaryEncoding => 'utf8', RecordFormat => 'USMARC' ); my $filename =

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

2008-09-03 Thread Dmitry Arsentiev
Thank you for your forewarning, Bill. I hadn't grow up enough to get this error yet. 2008/9/2 Bill Dueber <[EMAIL PROTECTED]>: > 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 outpu

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

2008-09-03 Thread Dmitry Arsentiev
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 Arsentie