On 10/3/07, Henri-Damien LAURENT <[EMAIL PROTECTED]> wrote:
[snip]
>
> Woulditnot possible to add some feature to M::F::X which would allow
> people to collect UTF8 data as such without checking MARC21 ?
>

Sorry for the delay in reply, folks.

Actually, you should be able to do exactly what you want.  You can
either pass 'use' flags to M::F::X to set the default:

  use MARC::File::XML ( BinaryEncoding => 'utf8', RecordFormat => 'UNIMARC' );

or, if you're reading the XML by hand one record at a time, you can
use new_from_xml (after loading M::F::X, of course) with parameters:

  my $record = MARC::Record->new_from_xml( $xml, 'UTF-8', 'UNIMARC' );

Please let us know if those don't work for you.

-- 
Mike Rylander
 | VP, Research and Design
 | Equinox Software, Inc. / The Evergreen Experts
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  [EMAIL PROTECTED]
 | web:  http://www.esilibrary.com

Reply via email to