# File src/rexml/functions.rb, line 116
                def Functions::string( object=nil )
                        #object = @context unless object
                        if object.instance_of? Array
                                string( object[0] )
                        elsif defined? object.node_type
                                if object.node_type == :attribute
                                        object.value
                                elsif object.node_type == :element
                                        object.text
                                else
                                        object.to_s
                                end
                        else
                                object.to_s
                        end
                end