Precisamente en el foro de ThirdyParty de Borland salio esta pregunta, he aqui algunos componentes que te pueden ayudar:
http://www.compnet101.com/atagparser/
Un ejemplo que postearon en el foro:
Código Delphi
[-]
procedure TForm1.ATagParserTag(Sender: TObject; Tag: TTagElement;
var Abort: Boolean);
var
Index: Integer;
begin
Index := FindTagID(Tag.Hash);
Case Index Of
TID_TABLE :
Begin
Case Tag.ElementType Of
etSimpleTag, etComplexTag :
etEndTag :
End;
End;
TID_TD :
Begin
Case Tag.ElementType Of
etSimpleTag, etComplexTag :
etEndTag :
End;
End;
TID_TR :
Begin
Case Tag.ElementType Of
etSimpleTag, etComplexTag :
etEndTag :
End;
End;
End;
end;
http://www.yunqa.de/delphi/htmlparser/
Estos dos de pago, pero a bajo precio. El segundo lo he evaluado y quizas lo compre mas tarde...
Tambien, un ejemplo de como hacerlo automatizando Explorer:
Código Delphi
[-]
uses MSHTML_TLB;
wb: TWebBrowser;
wb.navigate(your html file);
in wb.OnDocumentComplete write something like:
var
doc: IHTMLDocument2;
btnText: string;
begin
doc := wb.document as IHTMLDocument2;
the file
btnText := ((doc.tags('button') as IHTMLElementCollection).item(0, '') as
IHTMLButtonElement).InnerText;
Ahora la vuelta para cargar la tabla es mas complicada... te toca mirar las ayudas en MSDN....
Seguro habra otros parsers por ahi... mirate en torry.net...