BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Parsing XML file and load it in a treeview

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi XML
View previous topic :: View next topic  
Author Message
Juan Araya
Guest





PostPosted: Wed May 18, 2005 3:36 pm    Post subject: Parsing XML file and load it in a treeview Reply with quote




Good morning

How can I read an XML file, parse it, and load it to a treeview?

Thanks a lot in advanced

Juan Araya
Back to top
Bob Swart
Guest





PostPosted: Wed May 18, 2005 4:01 pm    Post subject: Re: Parsing XML file and load it in a treeview Reply with quote



Hi Juan,

Quote:
How can I read an XML file, parse it, and load it to a treeview?

See the bottom of http://www.drbob42.com/kylix/BizSnap1.htm

Quote:
Juan Araya

Groetjes,
Bob Swart (aka Dr.Bob - www.DrBob42.com)

--
Bob Swart Training & Consultancy (eBob42) - Borland Technology Partner
Delphi 2005 PDF manuals available from http://www.drbob42.com/training

Back to top
Juan Araya
Guest





PostPosted: Wed May 18, 2005 7:33 pm    Post subject: Re: Parsing XML file and load it in a treeview Reply with quote




Good morning

I am using Delphi 5, and I am trying to read a XML file, parse ir and load it in a treeview.

How can I do this?

Thanks a lot in advanced,


Juan Araya


"Juan Araya" <juan.araya (AT) x-tel (DOT) com> wrote:
Quote:

Good morning

How can I read an XML file, parse it, and load it to a treeview?

Thanks a lot in advanced

Juan Araya


Back to top
steve-o
Guest





PostPosted: Thu May 19, 2005 8:46 pm    Post subject: Re: Parsing XML file and load it in a treeview Reply with quote

"Juan Araya" <juan.araya (AT) x-tel (DOT) com> wrote

Quote:

Good morning

I am using Delphi 5, and I am trying to read a XML file, parse ir and load
it in a treeview.

How can I do this?

Juan,

There are several xml parsers for delphi 5. A couple that come to mind are
as follows:

1. XMLParser : By Stephen Heymann (this is one I use)
http://www.destructor.de/xmlparser/index.htm

2. OpenXML
http://www.philo.de/xml/


3. MS XML Parser
If you are comfortable working with COM, then you can import the type
library for the MSXML.dll
MSXML Parser 2.5 is the XML parser that is shipped with Windows 2000 and IE
5.5.
MSXML Parser 3.0 is the XML parser that is shipped with IE 6.0 and Windows
XP.


Hope this helps,
Steve-O



Back to top
Nils Haeck
Guest





PostPosted: Fri May 20, 2005 11:08 am    Post subject: Re: Parsing XML file and load it in a treeview Reply with quote

Hi Juan,

You can use NativeXml:
http://www.simdesign.nl/xml.html

Example 2 shows how to load any XML document into a TVirtualTreeview (by
Mike Lischke), which is much more efficient than a normal treeview.

Kind regards,

Nils Haeck
www.simdesign.nl



"Juan Araya" <juan.araya (AT) x-tel (DOT) com> wrote

Quote:

Good morning

How can I read an XML file, parse it, and load it to a treeview?

Thanks a lot in advanced

Juan Araya



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi XML All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.