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