From: Pen Ttt Date: 2010-08-29T14:05:55+09:00 Subject: Re: select tr>3 with nokogiri i found they are equal between not and != in nokogiri xpath expression. there is still one problem remain,if my html is the following:
reportdate 10/31/09 10/31/08 10/31/07 10/31/06 10/31/05
Cash & Equivalents 2,493 1,429 1,826 2,262 2,251
Receivables 595 770 735 692 753
xpath('//table/tr[td[@class="tickerSm"]') get : reportdate 10/31/09 10/31/08 10/31/07 10/31/06 10/31/05 xpath('//table/tr[td[@class="ticker"]') get : Receivables 595 770 735 692 753 but how can i get the following with xpath expression? Cash & Equivalents 2,493 1,429 1,826 2,262 2,251 -- Posted via http://www.ruby-forum.com/.