Asylumius

Joined: May 14 2006
Comments: 350
Uploads: 0
Pastes: 0
Votes: 0

22 Mar 10 #1

I want to write XML files with my ROM MUD.

Anyone got recommendations on an XML library in C?

EDIT: Fixed a typo.

kiasyn

Joined: May 15 2006
Comments: 1168
Uploads: 0
Pastes: 0
Votes: 0

22 Mar 10 #2

Save it into a MySQL database and then do a mysqldump with xml formatting.

(just kidding)

quixadhal

Joined: October 17 2007
Comments: 2700
Uploads: 0
Pastes: 0
Votes: 0

22 Mar 10 #3

Or, to just do it directly….

http://gsoap2.sourceforge.net/

"Or you can simply use it to automatically convert XML to/from C and C++ data. The toolkit supports options to generate pure ANSI C or C++ with or without STL."

Hygelac

Joined: March 22 2010
Comments: 3
Uploads: 0
Pastes: 0
Votes: 0

22 Mar 10 #4

I've used TinyXML before with great results. It's a very basic and easy to use library. Get it here.