Archived

This topic is now archived and is closed to further replies.

Seriema

xml-streams in C++ ?

Recommended Posts

Hi! I saw specialized file readers/writers in a game engine once. They derived their own variations of ifstream and ofstream. Addin a few functions to give the data some control. Using blocks of { and }. Well my idea is to do a similar thing. An XML-stream, or rather a ifXMLstream and ofXMLstream (name suggestions are welcome). That would be great for the game I''m making! One thing hit me though... I can''t possible be the first one wanting to do this?.. Has anyone of you seen any xml formating streams in C++? I think Java has something for it but... Any articles or libraries made in C++? Thanx! "No lies of sugar can sweeten the sournes of reality" }+TITANIUM+{ A.K.A. DXnewbie[onMIRC]

Share this post


Link to post
Share on other sites
.NET makes great use of XML classes. Take a look at XMLReader, XMLWriter, XMLDocument, they are really good, even have support for XPath and of course they do both SAX and DOM.

Kind regards,
Steve

Share this post


Link to post
Share on other sites