Hi,
Has anyone used the XML::XSLT module to convert onix data to marc.
I tried using the xsl from the loc:
http://www.loc.gov/standards/marcxml/xslt/ONIX2MARC21slim.xsl
#!/usr/bin/perl
use strict;
use XML::XSLT ;
my $xmlFilename = "onix.xml" ;
my $xslFilename = "ONIX2MARC21slim.xsl" ;
my $xslt = XML::XSLT->new($xslFilename, warnings => 1);
$xslt->transform($xmlFilename);
print $xslt->toString;
But how I get this string output to a marc format? Do I need something
like the MARC-> Dublincore crosswalk
(http://search.cpan.org/~bricas/MARC-Crosswalk-DublinCore-0.02/lib/MARC/Crosswalk/DublinCore.pm)
--sharif
--
Sharif Islam Research Programmer
Library IT University of Illinois Urbana-Champaign
http://www.library.illinois.edu phone: (217) 244-7429