Hi,
Could anyone please show me how I can use table extractclass to extract a data from a desired data cell. For example(please see sample html below), I want to extract row 44 cell 0 data, then row 53 cell 0. The cells 0 remains the same for my script but the row changed. I tried tokeparser but did not worked for me.

Thanks in advance for any help:)

Rules---------- Sample html -------------------------

<tr class="even_data_row"> <td class="numberCol" vAlign="top">44</td>< +td vAlign="top"><a href="#user_RAD_WIPRO">RAD_WIPRO</a>@<a>Any</a> <br> <a href="#user_RAD_ISL">RAD_ISL</a>@<a>Any</a> <br> <a href="#user_RAD_ITC">RAD_ITC</a>@<a>Any</a> <br> <a href="#user_RAD_TMA">RAD_TMA</a>@<a>Any</a> <br> <a href="#user_RAD_TECHMAH">RAD_TECHMAH</a>@<a>Any</a> <br> </td><td vAlign="top"> <div class="refObject" nowrap="true"><ahre +f="#network_object_zcars0xy.ca.cgi.com">zcars0xy.ca.cgi.com</a> </div> </td><td vAlign="top"></td><td vAlign="top"> <divclass="refObject"nowrap="true"><ahref="#service_TCP_25426">TCP_254 +26</a> </div> </td><td vAlign="top"><div class="refObject" nowrap="true" styl +e="color:blue;">Client Auth</div> </td><td vAlign="top">Log<br></td><td vAlign="top"><div class="refObje +ct" nowrap="true">Any</div></td><td vAlign="top">Any<br></td><td vAli +gn="top" style="BORDER-RIGHT: #e5e5e5 1px solid;">'CQ-proxy PBJ 223 U +SA3257213'&nbsp;</td></tr>

----------- End Sample html --------------------

20070607 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips


In reply to Help with HTML::TableExtract by rulesofgames

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.