using nokogiri to parse xml rather than just matching strings