On Thu, Sep 04, 2003 at 10:39:19AM -0400, Jacobs, Jane W wrote:
> Thanks to Walter and Brian.  I guess it was dead obvious. In fact I failed
> to install the free nsgmls parsers. 

Not dead obvious at all. 

On a somewhat related note, a few weeks ago an updated version of MARC-XML [1] 
package was uploaded to CPAN. MARC-XML contains the MARC::File::XML package 
which is a drop in plugin for MARC::Record's MARC::File framework. In other
words it allows you to do this sort of thing: 

    use MARC::Batch;
    use MARC::File::XML;

    my $batch = MARC::Batch->new( 'XML', 'marc.xml' );
    my $record = $batch->next();
    
    # do stuff with vanilla MARC::Record object here

Only trick is that it only understands LC's MARCXML schema [2], and that
currently there is not an option to serialize a MARC::Record object as XML. If
there is a demand this could be done pretty quickly though.

//Ed

[1] http://search.cpan.org/perldoc?MARC::File::XML
[2] http://www.loc.gov/standards/marcxml/

Reply via email to