|
The HTML Parser is a component from the Clever Internet 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
html.LoadFromFile(OpenDialog1.FileName); clHtmlParser1.Parse(html); title := clHtmlParser1.Tags.TagByName('title'); editor := clHtmlParser1.Forms[0].Controls.TagByAttributeName('input', 'id', 'birthdate'); |
link := clHtmlParser1.Links[linkNo]; ShowMessage( 'Href: ' + link.Href + #13#10 + 'Target: ' + link.Target + #13#10 + 'Text: ' + link.LinkText + #13#10); |
Please see the Demos code (HtmlParser) and also the indexed Help documentation provided with the Clever Internet Suite installation to learn more about using this component in your application.
When Purchasing the Clever Internet Suite you receive the full sources for all suite components and also free unlimited support.
|