DESCRIPTION

HTTP::OAI::Metadata::OAI_DC provides a simple interface to parsing and generating \s-1OAI\s0 Dublin Core (\*(L"oai_dc\*(R").

SYNOPSIS

        use HTTP::OAI::Metadata::OAI_DC;

        my $md = new HTTP::OAI::Metadata(
                dc=>{title=>['Hello, World!','Hi, World!']},
        );

        # Prints "Hello, World!"
        print $md->dc->{title}->[0], "\n";

        my $xml = $md->metadata();

        $md->metadata($xml);

NOTE

HTTP::OAI::Metadata::OAI_DC will automatically (and silently) convert \s-1OAI\s0 version 1.x oai_dc records into \s-1OAI\s0 version 2.0 oai_dc records.