<div id="testing" multiple>
this is just a simple example
</div>
program cine;
uses
sysutils, classes, dom, fphttpclient, xmlread;
var
doc: txmldocument;
begin
doc := nil;
readxmlfile (doc, 'file.xml');
end.
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:Code: [Select]<div id="testing" multiple>
this is just a simple example
</div>