Re: [Htmlparser-user] how to extract content from the html tag
Brought to you by:
derrickoswald
From: Derrick O. <der...@ro...> - 2008-05-29 00:53:12
|
You should be able to construct a filter using the FilterBuilder application to look for the "Job ID" in the adjacent TD. It will be something like: new AndFilter (new TagNameFilter ("TD"), new HasSiblingFilter (new StringFilter ("Job ID", true))) ----- Original Message ---- From: neethu joseph <nee...@gm...> To: htm...@li... Sent: Wednesday, May 28, 2008 1:06:00 PM Subject: [Htmlparser-user] how to extract content from the html tag Hi I'm new to HtmlParser.Could you please help me to extract the Job ID from the table .I was trying to located it as the 3rd element of the table, but the page is getting modified day by day so i need to work out an alternative to find the job ID </tr> <tr class="FormContent"> <td class="FormContentFieldLabel">City</td> <td class="FormContentFieldValue">St. Louis</td> </tr> <tr class="FormContent"> <td class="FormContentFieldLabel">State/Province</td> <td class="FormContentFieldValue">Missouri [MO]</td> </tr> <tr class="FormContent"> <td class="FormContentFieldLabel">Job Title</td> <td class="FormContentFieldValue">Director, Graduate Studies in IS Management</td> </tr> <tr class="FormContent"> <td class="FormContentFieldLabel">Job ID</td> <td class="FormContentFieldValue">524</td> </tr> <tr class="FormContent"> <td class="FormContentFieldLabel">Job Type</td> <td class="FormContentFieldValue">Director</td> </tr> regards NAT |