write (REXML::DocType)

    # File temp/doctype.rb, line 108
        def write( output, indent=0, transitive=false, ie_hack=false )
          f = REXML::Formatters::Default.new
          indent( output, indent )
          output << START
          output << ' '
          output << @name
          output << " #@external_id" if @external_id
          output << " #{@long_name.inspect}" if @long_name
          output << " #{@uri.inspect}" if @uri
          unless @children.empty?
            next_indent = indent + 1
            output << ' ['
            child = nil    # speed
            @children.each { |child|
              output << "\n"
              f.write( child, output )
            }
            output << "\n]"
          end
          output << STOP
        end