|
NAMEHTML::DOM::Text - A Perl class for representing text nodes in an HTML DOM tree VERSIONVersion 0.058 SYNOPSIS use HTML::DOM;
$doc = HTML::DOM->new;
$text_node = $doc->createTextNode('the text goes here, I think');
$text_node->data; # 'the text goes here, I think'
$text_node->length; # 27
$text_node->substringData(22); # 'think'
# etc.
DESCRIPTIONThis class implements the Text interface for HTML::DOM. It inherits from HTML::DOM::CharacterData, which inherits from HTML::DOM::Node. METHODSHTML::DOM::Text's Own Methods
Inherited MethodsThese are inherited from HTML::DOM::CharacterData:
These are inherited from HTML::DOM::Node: SEE ALSOHTML::DOM HTML::DOM::CharacterData HTML::DOM::Node
|