    # File temp/xmldecl.rb, line 18
                    def initialize(version=DEFAULT_VERSION, encoding=nil, standalone=nil)
          @writethis = true
          @writeencoding = !encoding.nil?
                            if version.kind_of? XMLDecl
                                    super()
                                    @version = version.version
                                    self.encoding = version.encoding
            @writeencoding = version.writeencoding
                                    @standalone = version.standalone
                            else
                                    super()
                                    @version = version
                                    self.encoding = encoding
                                    @standalone = standalone
                            end
                            @version = DEFAULT_VERSION if @version.nil?
                    end