Click to See Complete Forum and Search --> : 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.
Martin Speiser
May 21st, 1999, 06:18 AM
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
sally
May 21st, 1999, 07:24 AM
And where can I find MSHTML?
Sally
Sally
May 21st, 1999, 07:24 AM
And where can I find MSHTML?
Sally
Wayne Fuller
May 21st, 1999, 07:28 AM
It is a COM interface, if you have Internet Explorer installed, you have it. Check out the class CHtmlView to get an idea.
Wayne
Thanks a lot for your answer. Is it somewhere properly documented ?
Regards
Dan
Martin Speiser
May 21st, 1999, 08:14 AM
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
Martin Speiser
May 21st, 1999, 08:20 AM
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
Daniel Frey
May 21st, 1999, 02:13 PM
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
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.