LoadFromHttp (xmldoc)

De Wiki1000

<source lang='delphi'>procedure LoadFromHttp(http:THttpClient);</source>

Cette procédure charge le document du contenu d'une requête http.

http Requête http

Exemple: <source lang='delphi'> procedure foo(doc:TxmlDocument; iURL:string); var http:THttpClient; begin

 http := ThttpClient.Create(nil);
 http.URL := iURL;
 try
   http.Execute;
   doc.LoadFromHttp(http);
 except
   ShowMessage(http.ErrorText);
 end;

end; </source>

Voir aussi:

{{#if:Documents XML (tech)|

{{#if:Documents XML (tech)|— Documents XML (tech) |}} — Développement DSM

|

{{#if:|— [[{{{1}}}]] |}} — Développement DSM

}}