Nokogiri

An open source HTML, XML, SAX, and Reader parser
Download

Nokogiri Ranking & Summary

Advertisement

  • Rating:
  • License:
  • MIT License
  • Price:
  • FREE
  • Publisher Name:
  • Aaron Patterson
  • Publisher web site:
  • http://rubyforge.org/projects/raop/
  • Operating Systems:
  • Mac OS X
  • File Size:
  • 161 KB

Nokogiri Tags


Nokogiri Description

An open source HTML, XML, SAX, and Reader parser Nokogiri parses and searches XML/HTML faster than Hpricot, and also has correctly implemented CSS3 selector support as well as XPath support.Nokogiri also features an Hpricot compatibility layer to help developers ease the change to using correct XPath and CSS. Here are some key features of "Nokogiri": · XPath support for document searching · CSS3 selector support for document searching · XML/HTML builder · Drop in replacement for Hpricot What's New in This Release: New Features: · Node#at_xpath returns the first element of the NodeSet matching the XPath expression. · Node#at_css returns the first element of the NodeSet matching the CSS selector. · NodeSet#| for unions GH #119 (Thanks Serabe!) · NodeSet#inspect makes prettier output · Node#inspect implemented for more rubyish document inspecting · Added XML::DTD#external_id · Added XML::DTD#system_id · Added XML::ElementContent for DTD Element content validity · Better namespace declaration support in Nokogiri::XML::Builder · Added XML::Node#external_subset · Added XML::Node#create_external_subset · Added XML::Node#create_internal_subset · XML Builder can append raw strings (GH #141, patch from dudleyf) · XML::SAX::ParserContext added · XML::Document#remove_namespaces! for the namespace-impaired Bugfixes: · returns nil when HTML documents do not declare a meta encoding tag. GH #115 · Uses RbConfig::CONFIG to adjust ENV GH #113 · NodeSet#search is more efficient GH #119 (Thanks Serabe!) · NodeSet#xpath handles custom xpath functions · Fixing a SEGV when XML::Reader gets attributes for current node · Node#inner_html takes the same arguments as Node#to_html GH #117 · DocumentFragment#css delegates to it's child nodes GH #123 · NodeSet#[] works with slices larger than NodeSet#length GH #131 · Reparented nodes maintain their namespace. GH #134 · Fixed SEGV when adding an XML::Document to NodeSet · XML::SyntaxError can be duplicated. GH #148 Deprecations: · Hpricot compatibility layer removed


Nokogiri Related Software