Why is XML good for data files?

fbriceno97

New Member
Recently the research group I have been working in have been working on some simulation codes. For the codes we have the main C++ files containing the code, a text file containing input parameters for the simulation. The data of the simulation at every time step is spitted out in the form of columnar data where each column representing some physical quantity position, pressure, etc. and each row represents a grid point.My boss has now asked me to switch the data format of the input-parameter-file and output data files to the XML format from its present key-value , key-value nature. He seems to bevery poor at his explanations since his English pretty much sucks. Its been two times now that he ranted about the superiority about XML without me understanding a word. Now, Let me say I am just your average C / C++ / Python programmer interested in scientific computing, and I have no back-ground in Computer Engineering subjects like databases or web development that XML seems to be used most in. Can anyone give me a short explanation of this or else point me to some resources which offer a gentle explanation of the concepts with simple yet non-trivial examples without all the yoga, chanting, incense burning , and ugly technical vocabulary (which keep requiring me to do endless googling) that all the XML tutorials seem to be filled with.If someone can give some explicit real-life examples of where and how the XML data format is used in someapplied mathematics codes that will really be helpful.
 
Back
Top