As Ruby on Rails agency, we’re always looking for tools and news related to RoR or Ruby. Nokogiri (鋸) is a Ruby gem providing HTML, XML, SAX, and Reader parsers. Among Nokogiri’s many features is the ability to search documents via XPath or CSS3 selectors.
Nokogiri parses and searches XML/HTML using native libraries (either C or Java, depending on your Ruby), which means it’s fast and standards-compliant.
It requires Ruby 2.1.0 or higher, including any development packages necessary to compile native extensions.