HTTP::OAI::Metadata(3pm) | User Contributed Perl Documentation | HTTP::OAI::Metadata(3pm) |
NAME¶
HTTP::OAI::Metadata - Base class for data objects that contain DOM treesSYNOPSIS¶
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
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.
2016-07-15 | perl v5.22.2 |