<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.vitarara.org/cms" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Vita Rara: A Life Uncommon - Hpricot</title>
 <link>http://www.vitarara.org/cms/taxonomy/term/100/0</link>
 <description></description>
 <language>en</language>
<item>
 <title>Hpricot to Nokogiri Day 1</title>
 <link>http://www.vitarara.org/cms/hpricot_to_nokogiri_day_1</link>
 <description>&lt;h2&gt;Nokogiri&#039;s #xpath != Hpricot&#039;s #xpath&lt;/h2&gt;
&lt;p&gt;In Hpricot you can call xpath on a node to get the XPath that will retrieve that node from the document. In Nokogiri that equivalent is path.&lt;/p&gt;
&lt;p&gt;I ran into this trying to figure out the xpath to a node in an HTML document. My normal routine is to load up the document in IRB and poke around to find the things I need.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.vitarara.org/cms/hpricot_to_nokogiri_day_1&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.vitarara.org/cms/hpricot_to_nokogiri_day_1#comment</comments>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/100">Hpricot</category>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/101">Nokogiri</category>
 <category domain="http://www.vitarara.org/cms/taxonomy/term/82">Ruby</category>
 <pubDate>Mon,  9 Feb 2009 18:04:01 -0500</pubDate>
 <dc:creator>Mark</dc:creator>
 <guid isPermaLink="false">174 at http://www.vitarara.org/cms</guid>
</item>
</channel>
</rss>

