Class | REXML::XMLDecl |
In: |
temp/xmldecl.rb
|
Parent: | Child |
NEEDS DOCUMENTATION
DEFAULT_VERSION | = | "1.0"; |
DEFAULT_ENCODING | = | "UTF-8"; |
DEFAULT_STANDALONE | = | "no"; |
START | = | '<\?xml'; |
STOP | = | '\?>'; |
standalone | -> | stand_alone? |
encoding= | -> | old_enc= |
standalone | [RW] | |
version | [RW] | |
writeencoding | [R] | |
writethis | [R] |
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