lang (REXML::Functions)

    # File rexml/functions.rb, line 279
      def Functions::lang( language )
    			lang = false
    			node = @@node
    			attr = nil
    			until node.nil?
    				if node.kind_of? Element
    					attr = node.attributes["xml:lang"]
    					unless attr.nil?
    						lang = compare_language(string(language), attr)
    						break
    					else
    						node = node.parent
    					end
    				end
    			end
    			lang
    		end