lang (REXML::Functions)

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