|
-
May 21st, 1999, 03:28 AM
#1
Looking for a class parsing HTML for tags
Does anybody know if there exists a class which parses a HTML for tags or/and creates objects of different tags, like text or graphics ?
I'm looking for a class similar HTML::Parser in PERL5.
-
May 21st, 1999, 06:18 AM
#2
Re: Looking for a class parsing HTML for tags
Hi,
you can use the MSHTML control for this task. By hosting the control you have full access to the Document Object Model.
Martin
Martin
-
May 21st, 1999, 07:24 AM
#3
Re: Looking for a class parsing HTML for tags
And where can I find MSHTML?
Sally
-
May 21st, 1999, 07:28 AM
#4
Re: Looking for a class parsing HTML for tags
It is a COM interface, if you have Internet Explorer installed, you have it. Check out the class CHtmlView to get an idea.
Wayne
-
May 21st, 1999, 07:32 AM
#5
Re: Looking for a class parsing HTML for tags
Thanks a lot for your answer. Is it somewhere properly documented ?
Regards
Dan
-
May 21st, 1999, 08:14 AM
#6
Re: Looking for a class parsing HTML for tags
Hi Sally,
as Wayne wrote, it belongs to the IE. What you see when you start the IE is in fact nothing else than a COM client which hosts mainly two COM objects, the WebBrowser control, responsible for navigation, and the MSHTML control, responsible for parsing and rendering HTML.
Martin
Martin
-
May 21st, 1999, 08:20 AM
#7
Re: Looking for a class parsing HTML for tags
Hi Dan,
properly? No. It is documented, but it's awful. You can find it on the MSDN CD. In the index look for Platform SDK -> Internet/Intranet/Extranet Services -> Internet Explorer -> Internet Tools & Technologies, chapters "Reusing the Webbrowser and MSHTML" and "Programming the Document Object Model in C/C++".
HTH
Martin
-
May 21st, 1999, 02:13 PM
#8
Re: Looking for a class parsing HTML for tags
Hi,
I finally found an example explaining mostly I wanted to know. It's in the VC++ Help under the name "walkall.cpp". It uses the MSHTML stuff you mentioned.
Thanks a lot
Dan
Dan
--------------------------------------
It's always nice to see, whether the hints work. I appreciate feedback
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|