Class: REXML::Formatters::Default

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

### Methods

new write write_cdata write_comment write_document write_element write_instruction write_text

### Public Class methods

new( ie_hack=false )

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

write( node, output )

Writes the node to some output.

node: | The node to write
output: | A class implementing `&lt;&lt;`. Pass in an Output object to change the output encoding.

### Protected Instance methods

write_cdata( node, output )
write_comment( node, output )
write_document( node, output )
write_element( node, output )
write_instruction( node, output )
write_text( node, output )

[Validate]