
XML::Elemental::Document - a generic document object.

XML::Elemental::Document is a subclass of XML::Elemental::Node that can be used with the Elemental parser to represent the document (root) node.

Parameterless constructor. Returns an instance of the object.
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.
Inherited from XML::Elemental::Node returns a reference to itself.

Please see the XML::Elemental manpage for author, copyright, and license information.