NAME
XML::Elemental::Document - a generic document object for use with the Elemental parser style.
DESCRIPTION
XML::Elemental::Document is a subclass of XML::Elemental::Node that is used by the Elemental parser style to represent the document (root) node.
METHODS
- XML::Elemental::Document->new
-
Parameterless constructor. Returns an instance of the object.
- $doc->contents([\@children])
-
Returns an ordered array reference of direct sibling objects. Returns a reference to an empty array if the element does not have any siblings. If a parameter is passed all the direct siblings are (re)set.
- $doc->root
-
Inherited from XML::Elemental::Node returns a reference to itself.
AUTHOR & COPYRIGHT
Please see the XML::Elemental manpage for author, copyright, and license information.
4 POD Errors
The following errors were encountered while parsing the POD:
- Around line 31:
=begin without a target?
- Around line 46:
'=item' outside of any '=over'
- Around line 61:
You forgot a '=back' before '=head1'
- Around line 68:
'=end' without a target?