hi,
I am newbie to perl and i needed some help with parsing some HTML text.
My HTML tree looks like this:
html
head
body
h1
pre
....
h3......some text...</h3>...some more
text....<br>...more text.....<p><img.....>
h3
p
i am basically trying to extract text inside the first h3 tag...until the second h3 tag. (I dont need the <p> <img..> either)
i am able to get the text enclosed within the <h3>...</h3> tags...i am having trouble with text outside it...
thanks in advance
kiran
I am newbie to perl and i needed some help with parsing some HTML text.
My HTML tree looks like this:
html
head
body
h1
pre
....
h3......some text...</h3>...some more
text....<br>...more text.....<p><img.....>
h3
p
i am basically trying to extract text inside the first h3 tag...until the second h3 tag. (I dont need the <p> <img..> either)
i am able to get the text enclosed within the <h3>...</h3> tags...i am having trouble with text outside it...
thanks in advance
kiran