sudo gem install nokogiri

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


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