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

Methods

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

[Validate]

ruby-doc.org is a service of James Britt and Neurogami, a Ruby application development company in Phoenix, AZ.

Documentation content on ruby-doc.org is provided by remarkable members of the Ruby community.

For more information on the Ruby programming language, visit ruby-lang.org.

Want to help improve Ruby's API docs? See Ruby Documentation Guidelines.