Re: [Htmlparser-user] Filter Help
Brought to you by:
derrickoswald
|
From: Derrick O. <Der...@Ro...> - 2005-12-21 13:33:49
|
If you are talking about the options at the bottom:
<li>Options available are:</ul>500 = Tape and Reel Packaging,
850<br>XXXE = Lead Free Option
they aren't part of a list.
You're probably better off post-processing the list you get to find all
it's siblings:
NodeList lists = ....apply the filter to the page;
BulletList list = (BulletList)lists.elementAt (0);
NodeList siblings = list.getParent ().getChildren ();
Srinivas Vemula wrote:
>Thank you very much, Some how I am not able to use the tool to create
>that perfect filter, and I am sure . Its JUST ME.
>
>http://www.avagotech.com/products/product-detail.jsp?navId=H0,C2,C5213,C
>5249,P88749
>
>Could you please modify the filter .. So that it catches all the <UL>
>tags for "Features" block. Above is the URL which is an example, this
>product has sub lists for a particular listItem in the main features
>list
>
>Thanks a lot
>
>
>
>-----Original Message-----
>From: htm...@li...
>[mailto:htm...@li...] On Behalf Of
>Derrick Oswald
>Sent: Wednesday, December 21, 2005 6:45 PM
>To: htm...@li...
>Subject: Re: [Htmlparser-user] Filter Help
>
>Having the URL makes it easy...
>It needs to ignore lists with class or id attributes. I used a NotFilter
>containing an OrFilter with the two HasAttributeFilters.
>I've added this to the example.
>
>Srinivas Vemula wrote:
>
>
>
>>Thanks for the helo Derick. It is not able to filter the Features part
>>
>>
>
>
>
>>of it, and I am ending up getting all the <UL> tags in the web page.
>>I am attaching the web page, and here is the URL
>>
>>http://www.avagotech.com/products/product-detail.jsp?navId=H0,C2,C5212
>>,C5255,P88706
>>
>>Thanks for your time and help on this
>>
>>
>>
>>
>>
>>
>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
>for problems? Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
>_______________________________________________
>Htmlparser-user mailing list
>Htm...@li...
>https://lists.sourceforge.net/lists/listinfo/htmlparser-user
>
>
>
|