🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.xml
Article #172

XML & TreeView

#172
From: Guthrie Ward
Date: Sat, 17 May 2008 20:01
36 lines
1928 bytes
Hi Delphi'ers

After a long hiatus from programming (doing a bit of travelling), I'm trying 
to get back into the swing of thing with an XML driven application.  The 
application's XML structure will be as follows:

<Contacts>
   <Contact>
      <Name>Allan Moore</Name>
      <Age>36</Age>
      <Numbers>
         <Number>0208 987 6543</Number>
         <Number>0791 123 4567</Number>
      </Numbers>
      ...
   </Contact>
   <Contact>
      <Name>Jim Lee</Name>
      <Age>27</Age>
      <Numbers>
         <Number>0208 987 6543</Number>
         <Number>0791 123 4567</Number>
      </Numbers>
      ...
   </Contact>
</Contacts>

What I'm having problems with is getting specific XML data into a TreeView 
(All the Names of Contacts) under a Root Node.  And then using the 
TreeView's OnChange Event to display the Contact's additional information 
TEdits.

Thanks in advance.

Regards
Gus 
Technical Details
Message-ID: <482f399b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f5d9b,a02bdc3255930b71,start
X-Google-Attributes: gidf5d9b,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Guthrie Ward" <shadavar@hotmail.com>
Newsgroups: borland.public.delphi.xml
Subject: XML & TreeView
Date: Sat, 17 May 2008 21:01:05 +0100
Lines: 36
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 12.0.1606
X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606
NNTP-Posting-Host: 82.12.211.25
Message-ID: <482f399b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1211054491 82.12.211.25 (17 May 2008 13:01:31 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
X-Original-Lines: 5