Base class for data objects that contain dom trees
use HTTP::OAI::Metadata; $xml = XML::LibXML::Document->new(); $xml = XML::LibXML->new->parse( ... ); $md = new HTTP::OAI::Metadata(dom=>$xml); print $md->dom->toString; my $dom = $md->dom(); # Return internal DOM tree
Return and optionally set the \s-1XML\s0 \s-1DOM\s0 object that contains the actual metadata. If you intend to use the generate() method $dom must be a \s-1XML_DOCUMENT_NODE\s0.