Delphi HTML Parser
This module lets you work with HTML documents as DOM tree and use XPath for searching tags.
It is very simple way to parse HTML.
This tested with version Delphi XE5,6
Usage
Add in Uses parser.pas;
begin
HtmlTxt:= ''; //here your html
NodeList:= TNodeList.Create;
ValueList:= TStringList.Create;
DomTree:= TDomTree.Create;
DomTreeNode:= DomTree.RootNode;
If DomTreeNode.RunParse(HtmlTxt) then
begin
{your code
example