Before XML became a standard and given all its shortcomings, what made XML so popular?

后端 未结 23 1139
轻奢々
轻奢々 2021-02-04 09:01

Yes XML is human readable but so is comma delimited text and properties files.

XML is bloated, hard to parse, hard to modify in code, plus a ton of other problems that I

23条回答
  •  天命终不由人
    2021-02-04 09:55

    It has many advantages, and few shortcomings. The main problem is the increased size of file and slower processing. However, there are advantages:

    • it is structured, so you write a parser only once
    • it supports data with nested structure (hierarchies, trees, etc.)
    • you can embed multiple types of data structure in a single XML
    • you can describe the schema (data types, etc.) with standard language (XSL...)

提交回复
热议问题