[Htmlparser-user] getting data next to the current tag
Brought to you by:
derrickoswald
|
From: Angelo C. <ang...@ya...> - 2007-09-25 10:16:56
|
Hi,
I have some lines like following, I can use:
a1 = nl.extractAllNodesThatMatch(new
TagNameFilter("h1"),true);
to reach <h1></h1>, and the gender and address is
always below the <h1> line, how to access the two
lines right after the <h1> tag? thanks.
A.C.
<td ><h1>Angelo</h1>
Male<br />San Jose, California <br />
</td>
Yahoo! 全新升級網上相簿,讓你由相片中分享生活點滴,請前往http://hk.photos.yahoo.com 了解更多!
|