# File lib/xml/xpath.rb, line 899 def normalize_space @value = @value.strip @value.gsub!(/\s+/, ' ') self end