FindChildItem (xmlitem)

De Wiki1000
function FindChildItem(const iNameSpaceURI:string; const iLocalName:string):TxmlItem;

Cette fonction recherche l'élément enfant dans un domaine.

iNameSpaceURI Domaine de l'élément recherché.
iLocalName Nom local de l'élément recherché dans le domaine.

Exemple:

procedure foo(elt:TxmlItem);
var itm:TxmlItem;
begin
  itm := elt.FindChildItem('http://foooooo','item');
  if Assigned(itm) then
    begin
    ...
    end;
end;

Voir aussi:

Eléments XML (tech)Développement DSM





Whos here now:   Members 0   Guests 0   Bots & Crawlers 1
 
Outils personnels