CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2002
    Posts
    18

    Question How to retrieve the tag in HTML file?

    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.

  2. #2
    Join Date
    Feb 2002
    Posts
    5,757
    You could send a /GET request to the webserver and analyze the data the server sends back.

    Kuphryn

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured