From: Don French Date: 2010-03-23T16:40:10+09:00 Subject: Raw data in xml I have a array of lines that are actually a final document that I need to put into one XML file/buffer as one element including all newlines and formfeed characters. Actually all control characters. The snippet of XmlBuilder is: x.report @lines[@first_line_index..-1].each { |line| "#{line}\n"} originally tried: x.report @lines[@first_line_index..-1].each { |line| "#{line}"} When I look at the buffer created in both cases, there are no newlines in the buffer. How can I do that? Don French