Search results

  1. stackoverflow.com/.../17262885/nokogiri-​remove-node-comments   Cached
    Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
  2. nokogiri.org/Nokogiri/XML/Node.html   Cached
    Class Nokogiri::XML::Node inherits from Object. Nokogiri::XML::Node is your window to the fun filled world of dealing with XML and HTML tags.
  3. nokogiri.org/Nokogiri/XML/Document.html   Cached
    Class Nokogiri::XML::Document inherits from Nokogiri::XML::Node. Nokogiri::XML::Document is the main entry point for dealing with XML documents.
  4. ssscripting.wordpress.com/2009/10/12/​remove-duplicate...   Cached
    A few functions I wrote to remove duplicate nodes. ... ec end end end node = Nokogiri::XML(data) remove_copies ... of follow-up comments via ...
  5. nokogiri.rubyforge.org/nokogiri/​Nokogiri/XML/Node.html   Cached
    Nokogiri::XML::Node is your window to the fun filled world of dealing with XML and HTML tags. ... x. remove} fragment (tags). children. to_a. reverse. each do | node ...
  6. shcatula.wordpress.com/2013/01/13/​nokogiri-vs-crack-and...   Cached
    root = Nokogiri::XML(response.body).remove_namespaces! ... (node) node.xpath('//Items/Item').map do |item_node ... Comments. Contact. Github; Google+;
  7. confusedfromcambridge.blogspot.com/2010/​12/rails-nokogiri...   Cached
    Rails Nokogiri 'document already has a root node' ... remove the render block so that it reads as: ... Post Comments (Atom) About Me.
  8. nokogiri.rubyforge.org/nokogiri/​CHANGELOG_rdoc.html   Cached
    HTML fragments now correctly handle comments and CDATA blocks. GH 78 Nokogiri:: ... Nokogiri::XML::Node#=> compares nodes ... Adding a child will remove duplicate ...
  9. blog.madebydna.com/all/code/2010/06/04/​ruby-helper-to...   Cached
    There are actually some advantages to traversing the text fragment with Nokogiri: ... = self. dup truncated_node. children. remove self ... blog comments ...
  10. stackoverflow.com/...nokogiri-xml-nodes-​and-elements   Cached
    Nokogiri makes this pretty easy. Using this document as an example, the following code will find all vitamins tags, remove their children (and the children's children ...
  11. stackoverflow.com/questions/7879352/​remove-comments-from...   Cached
    class Nokogiri::XML::Node def inner_html_reject(xpath='.//comment()') dup.tap{ |shadow| shadow.xpath ... .remove which removes all comments at once.
  12. stackoverflow.com/questions/...node-​from-a-nokogiri-nodeset   Cached
    I'd like to remove the last node that was found. ... Copy a Nokogiri node to a custom subclass. 0. XPath performance with merged Nokogiri::XML::NodeSets? 3.