From: Ammar Ali Date: 2010-08-28T17:30:43+09:00 Subject: Re: select tr>3 with nokogiri Use count(), like: document.xpath("//*[count(td)=2]") You can also select children at certain offsets with td:nth-child(N) or position(N) HTH, Ammar On Sat, Aug 28, 2010 at 10:17 AM, Pen Ttt wrote: > for  example, > table1: > > > > > > > > > > > > > > > >
kk
1 2
3 4
qq
> > table2: > > > > > > > > > > > > >
kk
1 2
3 4
> > i want  to get  table2 from table1,to get row  which contains more then > one column,how to do it  with  nokogiri?? > > -- > Posted via http://www.ruby-forum.com/. > >