There exists a peculiar amnesia in software engineering regarding XML. Mention it in most circles and you will receive knowing smiles, dismissive waves, the sort of patronizing acknowledgment reserved for technologies deemed passé. “Oh, XML,” they say, as if the very syllables carry the weight of obsolescence. “We use JSON now. Much cleaner.”


XML is best suited for storing documents, JSON for transmitting application data over networks.
SVG is an example of an excellent use of XML, it doesn’t mean we should use XML for transmitting data from a backend to a frontend.