 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Juan Araya Guest
|
Posted: Wed May 18, 2005 3:36 pm Post subject: Parsing XML file and load it in a treeview |
|
|
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
|
|
| Back to top |
|
 |
Juan Araya Guest
|
Posted: Wed May 18, 2005 7:33 pm Post subject: Re: Parsing XML file and load it in a treeview |
|
|
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
|
Posted: Thu May 19, 2005 8:46 pm Post subject: Re: Parsing XML file and load it in a treeview |
|
|
"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
|
Posted: Fri May 20, 2005 11:08 am Post subject: Re: Parsing XML file and load it in a treeview |
|
|
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 |
|
 |
|
|
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
|
|