From: Mark Hubbart Date: 2005-10-26T17:49:07+09:00 Subject: Re: REXML::Document.write( my_file, 0, true, false ) On 10/25/05, Shea Martin wrote: > I am reading in simple xml document, adding an element and writing it out. > > > > > > > the green ones > > > > > > > But when I write out the document I get > > > > > > > the green ones > > > /> > > > > > > > Is there a way to prevent the extra newline characters on closing brackets? perhaps - REXML::Document.write( my_file, 0 ) or even - REXML::Document.write( my_file ) cheers, Mark > Or am I better to call an external command to do the formatting for me? > > THanks, > > ~S > >