Re: [Htmlparser-user] Using Filter
Brought to you by:
derrickoswald
|
From: Derrick O. <der...@ro...> - 2008-03-18 23:03:05
|
You would use a filter to get the title tag like TagNameFilter ("TITLE") and then ask for the plain text from every node (there's probably only one) in the list of filtered tags, like tag.toPlainText ().
----- Original Message ----
From: Narindra Jeethan <Nar...@te...>
To: htm...@li...
Sent: Tuesday, March 18, 2008 4:48:54 PM
Subject: [Htmlparser-user] Using Filter
Hi,
How do I use the
filter to return the values between tags?
For example I want
to get test from the title tag
<html>
<head>
<title>test</title>
</head>
<body>body test</body>
</html>
Thanks,
Narindra Jeethan
Office:
780.493.7211
Mobile:
780.288.5961
-----Inline Attachment Follows-----
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----Inline Attachment Follows-----
_______________________________________________
Htmlparser-user mailing list
Htm...@li...
https://lists.sourceforge.net/lists/listinfo/htmlparser-user
|