Re: onix to marc

[email protected] (Sharif Islam)
Newsgroups perl.perl4lib
Message-ID <[email protected]>
Galen Charlton wrote:

> 
> To get a MARC record, assuming you want the ISO2709 serialization, the
> program could continue as follows:
> 
> my $marcxml = $xslt->toString;
> use MARC::Record;
> use MARC::File::XML;
> my $marcrec = MARC::Record->new_from_xml($marcxml, 'UTF-8');
> print $marcrec->as_usmarc();

Thanks Galen.

Not sure if there is a problem with my data but

print Dumper($marcrec) ;

returns blank.


$VAR1 = undef;


--sharif
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.