XML vs comma delimited text files

后端 未结 12 2641
面向向阳花
面向向阳花 2021-02-20 08:25

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.

12条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-20 08:59

    CSV was never really a standard. Just the same quick and dirty method a bunch of people came up with independently. Of course, some of these people were smarter than others and realized you needed to escape characters but others didn't. Even MSSQL exports CSVs improperly. There is a documented RIGHT way to doing XML so if you're doing it right and someone's application or whatever isn't accepting it you have some clout when you say "That's not my fault."

提交回复
热议问题