Created
June 9, 2012 14:25
-
-
Save chintanparikh/2901161 to your computer and use it in GitHub Desktop.
Nokogiri XML parsing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'nokogiri' | |
require 'open-uri' | |
xml = Nokogiri::XML(open('https://jira.mongodb.org/plugins/servlet/streams')) | |
xml.xpath('//usr:username').each do |username| | |
puts username.content | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment