[Htmlparser-user] How to handle <link> tag using HTML Parser ?
Brought to you by:
derrickoswald
|
From: Pandian A. <pan...@ya...> - 2007-01-13 10:36:26
|
could someone throw lights on how to handle the <link> tag
I want to extract the href value from the following html,
<link rel="stylesheet" href="dummy11.css" type="text/css"/>
I tried to use the LinkTag clas,
NodeList linkTags = nodeList.extractAllNodesThatMatch(new NodeClassFilter(LinkTag.class), true);
NodeIterator nI = linkTags.elements();
but the filter recognizes only <a href="...."> tags...
<link href=".." > are ignored. Any help here ? Appreciate your response.
Regards,
Pands
---------------------------------
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit. |