From: "R.. Kumar 1.9.1 OSX" Date: 2010-08-09T13:02:33+09:00 Subject: Re: Nokogiri help Mike Dalessio wrote: > On Sun, Aug 8, 2010 at 11:35 AM, R.. Kumar 1.9.1 OSX > > wrote: > > > For advanced usage like capturing attribute values in a Nokogiri search, > you > should use Node#xpath: > > doc = Nokogiri::HTML(open('http://www.reddit.com/r/programming/')) > puts doc.xpath("//p[@class='nextprev']/a/@href").inspect > # => [#] thanks a lot to both answers. 1) Is there any doc that has advanced info or examples, the tutorial had simple examples. 2) Also, is Nokogiri the right tool for this job, or is Scrubyt more suitable. reg rahul -- Posted via http://www.ruby-forum.com/.