From: Pen Ttt Date: 2010-08-27T23:26:53+09:00 Subject: select tr>3 with nokogiri i want to get row which it contains more than 3 columns how to write xpath with nokogiri require 'rubygems' require 'nokogiri' item='sometext' doc = Nokogiri::HTML.parse(open(item)) data=doc.xpath('/html/body/table/tr[@td.size>3]') puts data it can not run , help and advices appreciated. -- Posted via http://www.ruby-forum.com/.