# File lib/libxml/node.rb, line 233
      def document?
        node_type == DOCUMENT_NODE
      end