Top "Nokogiri" questions

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

libxml2 missing for nokogiri gem on Windows 8 x64 with Ruby 1.9.3

What I found searching for similar issues was that Nokogiri does not yet have x64 support with Ruby 2.0. However although …

ruby-on-rails ruby windows-8 nokogiri libxml2
Nokogiri recursively get all children

The Problem I am running some statistics against various URLS. I want to find the top level element with the …

ruby search xhtml nokogiri
Can't install Nokogiri gem, "libxml/parser.h" not found, but its there, why?

I tried to install Nokogiri but I always get an compiling error: checking for libxml/parser.h... *** extconf.rb failed *** …

ruby gem nokogiri libxml2
Transform XML with XSLT and preserve CDATA (in Ruby)

I am trying to convert a document with content like the following into another document, leaving the CDATA exactly as …

xml xslt parsing nokogiri cdata
How do I search for "text" then traverse the DOM from the found node?

I have webpage that I need to scrape some data from. The problem is, each page may or may not …

ruby nokogiri
how to make Nokogiri not to convert   to space

i fetch one html fragment like "<li>市&nbsp;场&nbsp;价" which contains "&nbsp;", but after calling …

ruby nokogiri html-entities
Error - "gem install rails" - libxml2 is missing

I've been working through the Rails install instructions (http://railsapps.github.io/installrubyonrails-mac.html) and everything was okay up until …

ruby-on-rails ruby nokogiri libxml2
How to use xmlns declarations with XPath in Nokogiri

I'm using Nokogiri::XML to parse responses from Amazon SimpleDB. The response is something like: <SelectResponse xmlns="http://sdb.…

ruby xpath nokogiri xml-namespaces
How can I generate XML with Nokogiri without "<?xml version=..."?

Possible Duplicate: Print an XML document without the XML header line at the top I have a problem with Nokogiri::…

ruby xml nokogiri
Nokogiri won't let me bundle install in Rails

I've seen this question asked and tried everything I've seen suggested. I got a new macbook and am looking to …

ruby-on-rails ruby nokogiri