|
The HTML Parser is an ActiveX component from the Clever Internet ActiveX Suite library. It allows you to parse HTML document and extract URL, FORM and other HTML tag collections with their attributes according to w3c HTML specification.
- Parse all HTML tags including A, IMG, TABLE, FORM and many more
- Extract Links, Images, Frames, Tables with Rows and Cells, Forms with Controls
- Extract HTML Text Content
- Tag position in HTML source
- Parse Incorrect or badly formatted HTML
- Free one year upgrades and support
Set txtFile = o.OpenTextFile("c:\document.html") clHtmlParser1.Parse txtFile.ReadAll Dim frm As IclHtmlForm Set frm = clHtmlParser1.Forms.item(0) Set editor = frm.Controls.TagByAttributeName("input", "id", "birthdate") |
Dim link As IclHtmlLink Set link = clHtmlParser1.Links(linkNo) MsgBox "Href: " + link.Href + vbNewLine + _ "Target: " + link.Target + vbNewLine + _ "Text: " + link.LinkText |
Please see the Demos code (HtmlParser) and also the indexed Help documentation provided with the Clever Internet ActiveX Suite installation to learn more about using this component in your application.
|