Comrite Unix Man page/Perldoc/Info page, English-Chinese Dictionary, Chinese-English Dictionary

XML::Elemental::Document--3pm

Command: man perldoc info search(apropos)  


 
XML::Elemental::DocumeUserpContributed Perl DocumXML::Elemental::Document(3pm)



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

DESCRIPTION
       XML::Elemental::Document is a subclass of XML::Elemental::Node that can
       be used with the Elemental parser 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 ref-
erence 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.



perl v5.8.7                       2005-11-18     XML::Elemental::Document(3pm)
 

©2005 Comrite