From: Wes Gamble Date: 2008-03-14T03:07:24+09:00 Subject: Re: REXML Formatter issue - does each Element need formattin Actually, it is more involved than that. I have a XML template with the following: ...contents of first_elem.... I then read in this XML and dynamically add in second_elem and third_elem as siblings to first_elem. Using the default formatter prints them all inline. Using the pretty printer prints each element tag (both open and close) and the value on a separate line. I want something in between these two extremes. I want to print out the contents of and like so: value Does anyone know how to create a custom formatter for correctly provide formatting directives to REXML? Thanks, Wes -- Posted via http://www.ruby-forum.com/.