title: How to get an XML attribute's value?
body: <p>Given the XML snippet below, how can I get the value of the XML attribute <code>TEXT</code>?</p>
  
  <pre><code>&lt;POPULARITY URL="example.com"  SOURCE="panel" TEXT="27503270" /&gt;
  </code></pre>
  
  <p>Negative...</p>
  
  <p>MY CODES...: </p>
  
  <pre><code>procedure TForm1.Button1Click(Sender: TObject);
  var i:integer;
  begin
     if kontrol=0 then
     begin
        XMLDocument1.Active:=false;
        XMLDocument1.FileName:='http://data.alexa.com/data?cli=10&amp;dat=snbamz&amp;url=aliatabak.com';
        XMLDocument1.Active:=true;
     end;
     i:=1;
     baslangic:=XMLDocument1.DocumentElement.ChildNodes.FindNode('SD');
     repeat
        isim:=baslangic.ChildNodes.Nodes['??????'].Text;
  
        edit1.Text:=isim;
  
        i:=i+1;
        baslangic:=baslangic.NextSibling;
     Until baslangic=nil;
  
  end;
  </code></pre>