🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #32414

populating treeview from XML

#32414
From: gamin
Date: Sun, 24 Nov 2002 21:59
22 lines
1476 bytes
hi,

  I'm genrating XML and would like to populate treeview with relevant
glyths(lil yellow folder for a dir etc, maybe something different for a php
file etc). Here is a sample of the XML (i could change it if required )

<dir name="myftp">
  <file name="get_file"></file>
  <dir name="data">
    <file name="schools.zip"></file>
    <file name="extract.php"></file>
  </dir>
  <file name="temp_dates"></file>
  <file name="sleeps.zip"></file>
  <file name="unknown.dbf"></file>
</dir>

Any suggestions ?

thx in advance

gamin.
Technical Details
Message-ID: <3de14bd1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,60759131dcc4ca60,start
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2002-11-24 14:15:38 PST
From: "gamin" <gamin@vsnl.net>
Newsgroups: borland.public.delphi.language.objectpascal
Subject: populating treeview from XML
Date: Mon, 25 Nov 2002 03:29:37 +0530
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 203.197.129.137
Message-ID: <3de14bd1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1038175185 203.197.129.137 (24 Nov 2002 13:59:45 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail