Using the OleObject property of TWebBrowser allows you to get at
the DOM.
eg
var oleDiv: OleVariant;
oleDiv:=WebBrowser.OleObject.Document.getElementsByTagNam
e('DIV');
inner_text:=oleDiv.item(0).innerHTML;
gets the innerhtml of the first DIV tag in the document.
I am just starting with this, so haven't got too far with it.
Can't seem to find much about TWebBrowser on the web, but what
I have found, http://members.home.com/hfournier/, under
FAQs/WebBrowser to be probably the best help (and searching
through Dejanews)
Hope I am on the right track,
Cheers
Antony
> Hi Team,
> I'm trying to build a web application which is capable of scanning the HTML
> of a loaded web page for specific tags, embedded instructions, and XML data
> islands.
>
> [snipped]
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz