how to create xml message in c?
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?
Than开发者_StackOverflow中文版ks!
Use libxml
Another suggestion: POCO project
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?
There is libxml-2.0 and expat. Libxml-2.0 supports DOM but expat supports just SAX.
精彩评论