Dhanasekaran Vivekanandhan wrote: > Thanks Peter , > Your solution worked. and I just wanted to know , where can I find the > syntax for Hpricot like the one you gave as a solution, Hmm, except of what can be found on the Hpricot page, I am using 1) rdoc, ri 2) p SomeHpricotClass.methods.sort 3) my kind-of-decent XPath knowledge 4) source code browsing (you don't have to be a pro (I am a newbie myself) and you can get a surprisingly lot from there)) 5) common sense 6) ruby mailing list Roughly in this order... A cheatsheet or something would be handy.. maybe there is already one somewhere? Cheers, Peter __ http://www.rubyrailways.com