|
The HTML Parser is a component from the Clever Internet .NET 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.
- 100% managed code
- 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 and META tags: Title, Description, Keywords, etc
- Tag position in HTML source
- Parse Incorrect or badly formatted HTML
- Free one year upgrades and support
StreamReader reader = File.OpenText(openFileDialog.FileName); htmlParser1.Parse(reader.ReadToEnd()); HtmlTag title = htmlParser1.Tags.TagByName("title"); HtmlTag editor = htmlParser1.Forms[0].Controls.TagByAttributeName("input", "id", "birthdate"); |
HtmlLink link = htmlParser1.Links[linkNo]; MessageBox.Show( "Href: " + link.Href + "\r\n" + "Target: " + link.Target + "\r\n" + "Text: " + link.LinkText + "\r\n"); |
Please see the Demos code (HtmlParser) and also the indexed Help documentation provided with the Clever Internet .NET Suite installation to learn more about using this component in your application.
When Purchasing the Clever Internet .NET Suite you receive the full sources for all suite components and also free unlimited support.
|