XML usage for c++ application -


I have a few questions about XML.

Using a text file instead of the XML can be used for the general C ++ application?

If so, then what are the advantages of this method?

And finally, how can I use XML to store data? What equipment is needed?

Regards

You can use XML to store information - It is less readable than a text file, but more easily can be transmitted with other systems and coding languages. If you have some text / numerical properties, paste it on a property file if you need a combination of configuration options Is, and you use than xml (Can be completed using XML schema), want to communicate easily with automated modification (such as XSL Transformation) or web services. If you want to store binary data, then XML may not be the answer though You can store it in a file system and use XML for metadata (i.e. where each file is located).

Take a look at the C ++ XML code for Apache Xerces-C -


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -