HTTP::OAI::Metadata(3)

NAME
HTTP::OAI::Metadata - Base class for data objects that contain DOM trees

SYNOPSIS
        use HTTP::OAI::Metadata;

        $xml = XML::LibXML::Document->new();
        $xml = XML::LibXML->new->parse( ... );

    $md = new HTTP::OAI::Metadata();

    $md->dom($xml);

        $md = new HTTP::OAI::Metadata(dom=>$xml);

        print $md->dom->toString;

        my $dom = $md->dom(); # Return internal DOM tree

METHODS

$md->dom( [$dom] )
    Return and optionally set the XML DOM object that contains the actual metadata. If you intend to use the generate() method $dom must be a XML_DOCUMENT_NODE.