tags:

views:

77

answers:

4

My application is written in c, and I need to create some XML messages to send over HTTP.

what's the best way to create XML messages?

Thanks!

+4  A: 

Use libxml

Joel
not reinventing the wheel , f*ck yeah !
Tom
+1  A: 

Another suggestion: POCO project

alt text

_NT
A: 

What's your platform, and what are your requirements? If you're just on Windows and you don't want to rely on 3rd party libraries, you'll be looking into msxml. You could use xerces if you are amenable to 3rd party; if you're on some flavor of linux, the story continues to change.

So basically, what are your requirements?

Chris
I am using windows, not linux.
emge
A: 

There is libxml-2.0 and expat. Libxml-2.0 supports DOM but expat supports just SAX.

Praveen S