Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi4 XE / iOS / read XML file /

Tags:

ios

xml

delphi

Am I correct in that Delphi 4 XE Pro does not supply any native way of reading XML documents? (TXMLDocument is Windows only) I have pondered about using TClientDataSet, but I am not sure if that is the right way to go.

Here is an example of what I want: Readonly XML file that defines a list of contacts. In the XML file, it also contains e.g. file path to photo of contact.

Ideally I then want to show the data in e.g. a TListBox (which might mean I need to write my own logic for loading images in/out of memory.)

like image 641
Tom Avatar asked Jan 31 '26 17:01

Tom


1 Answers

If validation is not required (as in the linked answer above), try

NativeXml or OmniXML

Both are free open source libraries for Delphi, however I have not checked if they can be used on other platforms.

Update: see http://www.kluug.net/omnixml.php and Windows & Mac XML library for delphi XE2

like image 81
mjn Avatar answered Feb 02 '26 07:02

mjn