Skip to Main Content

Photo of XML code courtesy of Will Pate via Flickr and Creative Commons.

James Clark is a big name in the XML and SGML world. He was the technical lead in the development of the XML 1.0 standard, co-author of the XSL standard, editor for the XSLT standard, and co-editor for the XPath standard. He was involved in the development of the extended version of SGML on which XML was based, and he wrote sgmls and SP, the two most widely used SGML parsers in existence. He was also the person who coined the name "XML" in the first place.

According to him, XML is dying out on the Web, and for good reasons.

Clark recently wrote a blog post explaining a bit of the history of XML, and how and why the Web is quickly abandoning it in favor of HTML 5 and JSON, a data format developed by JavaScript expert Douglas Crockford.

Ultimately, he boils this down to a growing need for simplicity: XML is slow to parse, complex to use, and keeps getting harder and harder to comprehend. For a number of years, there was a crude running joke among web developers: "XML is like violence: if it doesn't solve your problem, you're not using enough of it." To many web developers watching XML and related technologies evolve, that was the basic impression of the W3C's philosophy around XML. By the middle of the decade, the increasing complexity of the standards led developers to become disenchanted with the whole stack.

It was in these conditions that HTML 5 and JSON started to grow in popularity. Both technologies, as well as ECMAScript (JavaScript) 5 and REST, largely began as rejections of the complexities around XHTML, XML, ECMAScript 4, and SOAP, respectively. Developers found that the more lightweight approaches solved all of the same problems more efficiently and with less headache.

James Clark believes that XML will remain in use here and there on the server backend, but that its use in transmitted data will fade in time. From his post, "I think the Web community has spoken, and it's clear that what it wants is HTML5, JavaScript and JSON. XML isn't going away but I see it being less and less a Web technology; it won't be something that you send over the wire on the public Web."

This sentiment is shared by others in the industry. The CEO of Digital Bazaar, a web application development company, wrote an interesting blog post which touches on many of the same points. His company had formerly used SOAP (XML) for all of their web services before eventually switching everything to REST/JSON to cut out unnecessary complexity.

What prompted both of these posts was the news that Twitter and Foursquare both had dropped support for their XML APIs in favor of JSON. This follows similar transitions by Google and other prominent web companies, in an effort to make their services easier to implement and consume.<>

CCC TechEDge News and CCC Technology for Student Success News ceased publication in 2018.

Produced by the CCC Technology Center under a grant from the CCC Chancellor's Office, both publications are archived on this website.