2
Working with the TWebBrowser
you can easily interact with the elements, get fields, set values.
Example:
webBrowser.OleObject.Document.GetElementByID('name').setAttribute('attribute', 'value');
My question may be quite unreal, but someone knows a way to get the tags, maybe even work some information, from an HTML code contained in a TStrings
, for example more fluoride?
Giving an example to make clearer what I wish:
Let’s say I received the html from a page and I want to get the html code from some tags, get some values, maybe set some to then return, etc.
HTML is a kind of markup document, such as XML. As such, you can browse your Nodes as an XML document. You can create/edit html documents using Ixmldocument with a little effort
– Caputo