Class REXML::Formatters::Default
In: temp/formatters/default.rb
Parent: Object


Public Class methods

Prints out the XML document with no formatting — except if id_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.

Public Instance methods

Writes the node to some output.

node:The node to write
output:A class implementing <<. Pass in an Output object to change the output encoding.

Protected Instance methods