1HTTP::OAI::Metadata(3pmU)ser Contributed Perl DocumentatiHoTnTP::OAI::Metadata(3pm)
2
3
4

NAME

6       HTTP::OAI::Metadata - Base class for data objects that contain DOM
7       trees
8

SYNOPSIS

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();
16
17           $md->dom($xml);
18
19               $md = new HTTP::OAI::Metadata(dom=>$xml);
20
21               print $md->dom->toString;
22
23               my $dom = $md->dom(); # Return internal DOM tree
24

METHODS

26       $md->dom( [$dom] )
27           Return and optionally set the XML DOM object that contains the
28           actual metadata. If you intend to use the generate() method $dom
29           must be a XML_DOCUMENT_NODE.
30
31
32
33perl v5.32.0                      2020-07-28          HTTP::OAI::Metadata(3pm)
Impressum