# File lib/html/tree.rb, line 36
    def reset
      super
      @rootNode = @currentNode = Document.new
    end