1HTTP::OAI::Metadata(3pmU)ser Contributed Perl DocumentatiHoTnTP::OAI::Metadata(3pm)
2
3
4
6 HTTP::OAI::Metadata - Base class for data objects that contain DOM
7 trees
8
10 use HTTP::OAI::Metadata;
11
12 $xml = XML::LibXML::Document->new();
13 $xml = XML::LibXML->new->parse( ... );
14
15 $md = new HTTP::OAI::Metadata(dom=>$xml);
16
17 print $md->dom->toString;
18
19 my $dom = $md->dom(); # Return internal DOM tree
20
22 $md->dom( [$dom] )
23 Return and optionally set the XML DOM object that contains the
24 actual metadata. If you intend to use the generate() method $dom
25 must be a XML_DOCUMENT_NODE.
26
27
28
29perl v5.28.0 2018-05-28 HTTP::OAI::Metadata(3pm)