    # File temp/element.rb, line 673
        def write(writer=$stdout, indent=-1, transitive=false, ie_hack=false)
          Kernel.warn("#{self.class.name}.write is deprecated.  See REXML::Formatters")
          formatter = if indent > -1
              if transitive
                REXML::Formatters::Transitive.new( indent, ie_hack )
              else
                REXML::Formatters::Pretty.new( indent, ie_hack )
              end
            else
              REXML::Formatters::Default.new( ie_hack )
            end
          formatter.write( self, output )
        end