|
NAMEHTML::DOM::Node - A Perl class for representing the nodes of an HTML DOM tree VERSIONVersion 0.058 SYNOPSIS use HTML::DOM::Node ':all'; # constants
use HTML::DOM;
$doc = HTML::DOM->new;
$doc->isa('HTML::DOM::Node'); # true
$doc->nodeType == DOCUMENT_NODE; # true
$doc->firstChild;
$doc->childNodes;
# etc
DESCRIPTIONThis is the base class for all nodes in an HTML::DOM tree. (See "CLASSES AND DOM INTERFACES" in HTML::DOM.) It implements the Node interface, and, indirectly, the EventTarget interface (see HTML::DOM::EventTarget. METHODSAttributesThe following DOM attributes are supported:
There is also a "_set_ownerDocument" method, which you probably do not need to know about. Other MethodsSee the DOM spec. for descriptions of most of these. The first four automatically trigger mutation events. (See HTML::DOM::Event::Mutation.)
EXPORTSThe following node type constants are exportable: SEE ALSOHTML::DOM HTML::DOM::EventTarget
|