- DIXml 4.0.2 Many XML bug fixes and improvements.
|
|
Table of Contents
DIHtmlParser PluginsDIHtmlParser Plugins link themselves into the main parsing process of TDIHtmlParser. As the parsing proceeds, they receive the same information about the parsing process as the main parser. The plugins can then react on that information and perform specific tasks which are not built into TDIHtmlParser by default. Plugins are a flexible approach to extend the functionality of TDIHtmlParser. They can act on HTML data in completely new ways unknown to TDIHtmlParser at the time of its writing. This allows the parser to stay small and concentrate on what it does best: Fast and reliable HTML parsing. Each of the plugins, on the other hand, can add its own specialized functionaly to the core HTML parser as required. A Plugin Scenario
Think of how to extract the title text of an HTML document. You would probably first want to locate the The TDIHtmlTablesPlugin plugin locates and extracts a HTML document's title in parallel to the main parsing process without you having to do anything. When the plugin has found the title, it stores its text and triggers an application callback. Alternatively, your application can request the title from the plugin when the parsing is done. It is as simple as that. Ready-Made PluginsDIHtmlParser ships with a number of plugins all ready to use. Case Plugin
Character Set Plugin
E-Mails Plugin
Events Plugin
Links Plugin
Table Plugin
Writer Plugin
products/htmlparser/plugins.txt · Last modified: 2007/09/06 18:54 (external edit)
|
| Copyright (c) 2000-2011 Ralf Junker – http://www.yunqa.de/delphi/ – Disclaimer – Haftungsausschluss – Impressum |