Class REXML::XMLDecl
In: temp/xmldecl.rb
Parent: Child

NEEDS DOCUMENTATION

Methods

==   clone   default   dowrite   encoding=   inspect   new   node_type   nowrite   write   xmldecl  

Included Modules

Encoding

Constants

DEFAULT_VERSION = "1.0";
DEFAULT_ENCODING = "UTF-8";
DEFAULT_STANDALONE = "no";
START = '<\?xml';
STOP = '\?>';

External Aliases

standalone -> stand_alone?
encoding= -> old_enc=

Attributes

standalone  [RW] 
version  [RW] 
writeencoding  [R] 
writethis  [R] 

Public Class methods

Only use this if you do not want the XML declaration to be written; this object is ignored by the XML writer. Otherwise, instantiate your own XMLDecl and add it to the document.

Note that XML 1.1 documents must include an XML declaration

Public Instance methods

indent:Ignored. There must be no whitespace before an XML declaration
transitive:Ignored
ie_hack:Ignored

[Validate]