The manakai project

Web::DOM::ChildNode

The DOM ChildNode object

DESCRIPTION

The Web::DOM::ChildNode class implements the DOM ChildNode and NonDocumentTypeChildNode interfaces. The Web::DOM::ChildNode class is an abstract class. It is used as subclasses such as Web::DOM::Element and Web::DOM::Text.

METHODS

$sibling = $node->next_element_sibling

Return the next element sibling. If there is no such node, undef is returned. [DOM] [DOMELEMENTSIBLING]

$sibling = $node->previous_element_sibling

Return the previous element sibling. If there is no such node, undef is returned. [DOM] [DOMELEMENTSIBLING]

SPECIFICATIONS

DOM

DOM Living Standard <http://dom.spec.whatwg.org/#interface-childnode>.

DOMELEMENTSIBLING

Drop previousElementSibling and nextElementSibling from DocumentType for now. <https://github.com/whatwg/dom/commit/4aab68a697d902f68e2f48b6158052e081cf3ce0>.

SEE ALSO

Web::DOM::Element, Web::DOM::CharacterData, Web::DOM::DocumentType.

AUTHOR

Wakaba <wakaba@suikawiki.org>.

LICENSE

Copyright 2012-2013 Wakaba <wakaba@suikawiki.org>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.