irb(main):008:0> ie.table(:index, 2)[1][1].text
=> "name"
irb(main):009:0> ie.table(:index, 2)[1][2].text
=> "vikash"
irb(main):010:0> ie.table(:index, 2)[2][1].text
=> "roll"
irb(main):011:0> ie.table(:index, 2)[2][2].text
=> "30"
For Excel, take a look at http://wiki.rubygarden.org/Ruby/page/show/ScriptingExcel.
If simple solution would do it, you can just save file as csv, and Excel can read it.
Zeljko
--
http://zeljkofilipin.com/
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
