in reply to Re: How to restore the colors of a webpage when extracting data
in thread How to restore the colors of a webpage when extracting data
Hi ken
Thanks for your reply.
But I am not quite able to figure out how to use HTML::TableExtract to get the table cells as HTML::Element objects.
I am giving a very simple html table below, using the code I have already given above, can you please show me how can I use HTML::Element and get the attributes.
Assume that the page contains the following table :
<html> <title>Example table </title> <head> MyTable</head><br><br> <body> <table border border ="1"> <tr> <td><FONT COLOR = "green">ID</td> <td> <FONT COLOR = "blue">NAME</td> <td> <FONT COLOR = "RED">DOB</td> </tr> <tr> <td>1</td> <td>XYZ</td> <td>1-1-2000</td> </tr> <tr> <td>2</td> <td>PQR</td> <td>1-11-2000</td> </tr> </table> </body> </html>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to restore the colors of a webpage when extracting data
by kcott (Archbishop) on Jul 17, 2013 at 09:09 UTC | |
by ghosh123 (Monk) on Jul 17, 2013 at 14:57 UTC |