Alex Rivera | Logout

XML vs comma delimited text files

Asked 2009-07-17T00:13:22.523
11

Ok, I've read a couple books on XML and wrote programs to spit it out and what not. But here's the question. Both a comma delimited file and a XML file are "human readable." But in general, the comma delimited file is much easier on my eyes than a XML file; the tags typically take up as much if not more space than the data. This just seems to obscure what I'm reading and the format can take a page to contain the same information that you can contain on a single line of text in a comma delimited file. And a comma delimited file is significantly less complex to parse. So the real question is why XML? Just because all the cool kids are doing it?

Edit
Report

1 Answer

1

Xml can be validated against a contract (schema or DTD).

answered 2009-07-17T00:18:24.273

Your Answer