namespaces (REXML::Attributes)

    # File rexml/element.rb, line 1177
      def namespaces
    			namespaces = []
    			each_attribute do |attribute|
    				namespaces << attribute.value if attribute.prefix == 'xmlns' or attribute.name == 'xmlns'
    			end
    			if @element.document and @element.document.doc_type
    				expn = @element.expanded_name
    				expn = @element.document.doc_type.name if expn.size == 0
    				@element.document.doc_type.attributes_of(expn).each {
    					|attribute|
    					namespaces << attribute.value if attribute.prefix == 'xmlns' or attribute.name == 'xmlns'
    				}
    			end
    			namespaces
    		end