Thema: Delphi Attribut auslesen..

Einzelnen Beitrag anzeigen

marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#8

Re: Attribut auslesen..

  Alt 2. Mai 2007, 07:18
Hallo,

so geht es:

Delphi-Quellcode:
var
  xnChannel, xnCondition: IXMLNode;
begin
  xnChannel := xmldoc.DocumentElement.ChildNodes['channel'];
  xnCondition := xnChannel.ChildNodes['condition'];
  ShowMessage(VarToStr(xnCondition.Attributes['temp']));
end;
Grüße vom marabu
  Mit Zitat antworten Zitat