From: Mikel Lindsaar Date: 2007-12-11T10:59:56+09:00 Subject: Re: REXml help - Insert newlines into large xml file ------=_Part_12811_240605.1197338399116 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline You could use HTML tidy for this I think. Mikel On Dec 11, 2007 12:54 PM, Sean Nakasone wrote: > Hello, I have a large xml file that does not have any newlines in it. Can > someone please provide some code to use REXML to simply read in an xml, > insert newlines after the xml sections or elements, then spit it out to > stdout. This way I'd at least be able to open the xml file in an editor > so I can read what kind of format it has. I don't know anything about > REXML so it needs to be a somewhat complete script. thank you. > > ------=_Part_12811_240605.1197338399116--