# File temp/element.rb, line 131
    def document
      rt = root
      rt.parent if rt
    end