Type:
Class
Constants:
DECLARATION : XMLDecl.default

A convenient default XML declaration. If you want an XML declaration, the easiest way to add one is mydoc << Document::DECLARATION DEPRECATED Use: mydoc << REXML::XMLDecl.default

Represents a full XML document, including PIs, a doctype, etc. A Document has a single child that can be accessed by root(). Note that if you want to have an XML declaration written for a document you create, you must add one; REXML documents do not write a default declaration for you. See |DECLARATION| and |write|.

new

new( source = nil, context = {} ) Class Public methods Constructor @param source

2015-05-06 06:11:23
entity_expansion_limit=

entity_expansion_limit=( val ) Class Public methods

2015-05-06 05:52:17
<<

<<( child ) Instance Public methods Alias for:

2015-05-06 06:23:58
entity_expansion_text_limit=

entity_expansion_text_limit=( val ) Class Public methods

2015-05-06 06:05:37
root

root() Instance Public methods @return the root

2015-05-06 07:04:36
write

doc.write(output=$stdout, indent=-1, transtive=false, ie_hack=false, encoding=nil)doc.write(options={:output => $stdout, :indent => -1, :transtive

2015-05-06 07:16:34
stand_alone?

stand_alone?() Instance Public methods @return the

2015-05-06 07:09:19
add_element

add_element(arg=nil, arg2=nil) Instance Public methods

2015-05-06 06:37:24
add

add( child ) Instance Public methods We override this, because XMLDecls and

2015-05-06 06:31:03
version

version() Instance Public methods @return the

2015-05-06 07:11:59