Re: [Htmlparser-user] query on HTML Parser
Brought to you by:
derrickoswald
|
From: Derrick O. <Der...@Ro...> - 2006-07-01 23:34:18
|
This should give you the "Content":
NodeList nodes = parser.parse (null);
NodeList metas = nodes.extractAllNodesThatMatch (new TagNameFilter
("META"));
System.out.println (metas.elementAt (0).getMetaContent ());
vasantha reddy wrote:
> Hi,
>
> I am using HTML parser in my project.The HTML
> parser doesn't give the contents of meta tag as its output.I need the
> content of the meta tag.Is there any method that I can use to get the
> content of a particular tag by giving the tag name as input?
>
> Thank you,
> Regards,
> Vasantha
>
>
|