Install
sudo gem install nokogiri
Contribute
github.com/sparklemotion/nokogiri

An HTML, XML, SAX, & Reader parser with the ability to search documents via XPath or CSS3 selectors… and much more

Nokogiri

Module Nokogiri::HTML::SAX

Nokogiri lets you write a SAX parser to process HTML but get HTML correction features.

See Nokogiri::HTML::SAX::Parser for a basic example of using a SAX parser with HTML.

For more information on SAX parsers, see Nokogiri::XML::SAX