I'm writing a program, which I'm trying to get as portable as possible. Trying not to rely on too many libraries.

I need to store some data, such as large paragraphs of text as well as program settings. What's the best way to do it? Flexibly... I'd use XML, but I'd rather not write a parser or implement a XML library... do I have any other feasible options -- other than designing my own format?

Thanks in advance :)

02-06-2008

vart

1 library that is portable and work with XML is too many?
If not - find some written in ANSI C and use it

02-06-2008

zacs7

You're right, to tell the truth I was looking at libxml (dis-considering XML because libxml was a bit bloated for my needs). However I found libmxml http://www.minixml.org/ -- and it looks promising!