| HTML-DOM documentation | Contained in the HTML-DOM distribution. |
HTML::DOM::DocumentFragment - A boring class that's rarely used.
This class implements the DocumentFragment interface described in the W3C's DOM spec. It inherits from HTML::DOM::Node.
This returns '#document-fragment'.
This returns the constant HTML::DOM::Node::DOCUMENT_FRAGMENT_NODE.
| HTML-DOM documentation | Contained in the HTML-DOM distribution. |
package HTML::DOM::DocumentFragment; use strict; use HTML::DOM::Node 'DOCUMENT_FRAGMENT_NODE'; our @ISA = 'HTML::DOM::Node'; our $VERSION = '0.048'; sub new { SUPER::new{shift} '~frag'; } sub nodeName {'#document-fragment'} *nodeType = \& DOCUMENT_FRAGMENT_NODE; 1; __END__