Click to See Complete Forum and Search --> : How to retrieve the tag in HTML file?


erxuan
September 6th, 2002, 12:40 PM
I know that using
"HRESULT IHTMLElement::get_tagName(BSTR* p);"
we can get the tag name in html file. But it only return tag name,such as "TITLE, BODY", no start tag or end tag. If I want to retrieve the start tag AND end tag(such as <TITLE>...</TITLE>) so that I can use them to construct a tag tree, what should I do?
Thanks a lot.

kuphryn
September 7th, 2002, 11:01 AM
You could send a /GET request to the webserver and analyze the data the server sends back.

Kuphryn