Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A XML Question



Hi Nima,

Nima Tiran wrote:

I want to write some data in to a XML file then reading data back from XML
file to my app, the code is in C/C++, and I would like to use this code as
much as possible shared between Mac and Windows development machines. I was
wondering if you advice me of any XML library/sample code.

We use expat in our C++ Mac/Windows app:

<http://expat.sourceforge.net/>

We just use the basic library, which is pretty low level. I believe there are DOM wrappers for it. It's easy enough to use. We don't use it for writing XML, we do that ourselves, we just use it for reading. Our project file and clip files/clipboard format are in XML, and we also use it for preferences and UI description files, so we use expat a lot and haven't had any problems with it. Well, it isn't always easy to find parse errors if you've put an invalid character in a file, but that's the only drawback I can think of.

Regards,

Jo Meder

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.