ok, first i downloaded some pages using fphttpclient, i want to parse html to get some data out of `em, but readxmlfile throws an exception because downloaded html is not valid xml (i think). html goes something like this:
<div id="testing" multiple>
this is just a simple example
</div>
readxmlfile throws an exception saying "= is missing" after the "multiple".
is there any way to "configure" readxmlfile to accept such html like the one in the example above?
what do you guys use to parse html?
program cine;
uses
sysutils, classes, dom, fphttpclient, xmlread;
var
doc: txmldocument;
begin
doc := nil;
readxmlfile (doc, 'file.xml');
end.