Delphi and Kylix

Moderators: pritaeas
Number of threads: 7244
Number of posts: 19051

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
How to import xmldata in to Delphi 6? Posted by robbery on 16 Nov 2004 at 8:45 AM
How can I import a xmlfile in to an listbox in Delphi 6??

Please help.

Best regards

Zeke
Report
Re: How to import xmldata in to Delphi 6? Posted by zibadian on 16 Nov 2004 at 4:29 PM
: How can I import a xmlfile in to an listbox in Delphi 6??
:
: Please help.
:
: Best regards
:
: Zeke
:
XML files are basically normal text files with XML tags describing the data. If you want to show the contents of the file as it is stored, you can use Items.LoadFromFile().
If you want to parse the XML data into a listbox, you need to import the MSXML.DLL into Delphi. This library contains several interfaces to parse XML files. The MSDN site and the source code will give you an idea how to get the data. After that the add code into the listbox is simple.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.