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/.