method

new

ruby latest stable - Class: REXML::Formatters::Default
new( ie_hack=false )
public

Prints out the XML document with no formatting – except if ie_hack is set.

ie_hack

If set to true, then inserts whitespace before the close of an empty tag, so that IE’s bad XML parser doesn’t choke.