From: Phlip Date: 2007-08-23T23:05:37+09:00 Subject: reformat with Hpricot? Rubies: Here's how to indent with REXML: doc = Document.new('') indent_spaces = 2 doc.write($stdout, indent_space) That produces: How can Hpricot "pretty print" like that?? -- Phlip http://www.oreillynet.com/onlamp/blog/2007/08/assert_hpricot_1.html