In more detail
XML is more verbose than JSON but supports attributes, namespaces and validation against schemas. It is still common in office document formats, RSS feeds, sitemaps, SVG images and many enterprise systems. Every tag must be closed and properly nested.