Bhagya wrote:
Hi,
I need to create a class to convert the <imgtag into a string and parse
out the alt tag and create a caption out of it. I have no clue how to do
this. Please help!
Thanks in advance!
Bhagya
Just a minor correction: what you are looking for are the 'alt' and
'src' *attributes* of the image tag.
This class that you are going to be passing the information to -- what
is it going to expect to receive? A DOM Node object? The image tag as a
string? The entire page as a string?
On top of that, what are you actually having a problem with?
Chris.