Site Map Contact Us Home
E-mail Newsletter
Subscribe to get informed about
Clever Components news.

Your Name:
Your Email:
 
SUBSCRIBE
 
Previous Newsletters
 




Products Articles Downloads Order Support
Customer Portal      

HTML Parser Description

Features | Detailed Description

Available in .NET, VCL and ActiveX editions.

The HtmlParser component parses HTML page and extract URL, FORM and other HTML tag collections with their attributes according to w3c HTML specification: http://www.w3.org/TR/html401/

This component allows users to parse the HTML code and finds HTML tags and their attributes with providing the information about the progress. It creates series of Tag objects - each of them corresponding to HTML tag found inside the document. Using HtmlParser you can get most information about tag text, size, attributes etc.

Please see the Demos code (HtmlParser) and also the indexed Help documentation provided with the Clever Internet Suite installation for more details about using this component.

Property List

  Name   Description
 Forms Specifies the HTML FORM collection belonging to the current HTML page.
 Frames Specifies the HTML FRAME (IFRAME) collection belonging to the current HTML page.
 Images Specifies the HTML IMG collection belonging to the current HTML page.
 Links Specifies the HTML A href tag collection belonging to the current HTML page.
 ParseMethod Defines the HTML elements to be parsed (pmAll, pmTagsOnly, pmTextOnly).
 Tables Specifies the HTML table collection belonging to the current HTML page.
 Tags Specifies the HTML tag collection belonging to the current HTML page.

Method List

  Name   Description
 Clear Cleans all parser members and assigns them to their initial values.
 Parse Assigns the parser members by the given HTML source.

Event List

  Name   Description
 OnParseAttribute Occurs when the html parser extracted the next HTML tag attribute and added it to the Attributes array.
 OnParseForm Occurs when the html parser extracted the next HTML FORM tag and added it to the Forms collection.
 OnParseFrame Occurs when the html parser extracted the next HTML FRAME (IFRAME) tag and added it to the Frames collection.
 OnParseFormControl Occurs when the html parser extracted the next HTML FORM control and added it to the Controls collection.
 OnParseImage Occurs when the html parser extracted the next HTML IMG tag and added it to the Images collection.
 OnParseLink Occurs when the html parser extracted the next HTML A href tag and added it to the Links collection.
 OnParseTable Occurs when the html parser extracted the next HTML TABLE tag and added it to the Tables collection.
 OnParseTag Occurs when the html parser extracted the next HTML tag and added it to the Tags collection.

    Copyright © 2000-2024