# File temp/text.rb, line 199
    def doctype
      if @parent
        doc = @parent.document
        doc.doctype if doc
      end
    end