Thema: XML Attribut

Einzelnen Beitrag anzeigen

value is NULL

Registriert seit: 10. Sep 2010
249 Beiträge
 
#2

AW: XML Attribut

  Alt 15. Mär 2011, 07:53
Hi

habe das jetzt selbst gelöst!

Delphi-Quellcode:
while not (acc = nil) do begin
         i := i + 1;
         //acc := acc.NextSibling;
         if acc.HasAttribute('accdevindex') then begin
                if acc.Attributes['accdevindex'] = i then begin
                      test := acc.ChildNodes.First.GetAttributeNS('controllingresource','');
                      debug('CONTROLLINGRESSOURCE FOR INDEX '+inttostr(i)+': '+test);
                end;
                acc := acc.NextSibling;
         end;
    end;

LG
  Mit Zitat antworten Zitat