From: John W Higgins Date: 2010-08-13T04:44:12+09:00 Subject: Re: REXML - controlling whitespaces and inserting CR --00c09f99e4c10bf939048da597ef Content-Type: text/plain; charset=ISO-8859-1 Afternoon, You might find it just as easy to take that output and push it out to a file and then hit it with xmlindent (http://xmlindent.sourceforge.net/) it will do exactly what you want. No sense in re-inventing the wheel. John --00c09f99e4c10bf939048da597ef--