new (REXML::XMLDecl)

    # File src/rexml/xmldecl.rb, line 17
                    def initialize(version=DEFAULT_VERSION, encoding=nil, standalone=nil)
                            @encoding_set = !encoding.nil?
                            if version.kind_of? XMLDecl
                                    super()
                                    @version = version.version
                                    self.encoding = version.encoding
                                    @standalone = version.standalone
                            else
                                    super()
                                    @version = version
                                    self.encoding = encoding
                                    @standalone = standalone
                            end
                            @version = DEFAULT_VERSION if @version.nil?
                    end