Check out this YAML article at IBM developerWorks.
One criticism of XML that I have frequently raised in this column (and one that I am far from alone in emphasizing) is that XML is poorly focused. A classic committee-driven behemoth, XML tries to be a document format, a data format, a message packet format, a secure RPC channel (SOAP), and an object database. Moreover, XML piles on APIs for every style of access and manipulation: DOM, SAX, XSLT, XPATH, JDOM, and dozens of less common interface layers (I have contributed a few of my own in the gnosis.xml.pickle, gnosis.xml.objectify and gnosis.xml.validity packages). The remarkable thing is that XML does all these things; the disappointing part is that it does none of them particularly well.
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):