Re:AXR: A better(?) alternative to HTML+CSS
by politician on Monday June 13, 2011 @11:30AM
(#2649359)
The author hasn't suggested XML for presentation, but rather for content.
[ Parent
| on HN ]
IMHO, XML is terrible for both.
Content is best represented with some mixture of properly-chosen DSLs. For example, Markdown-like language for texts, CSV-like language for tabular data, and so on.
There are too many various type of "content", so if you try to use lowest common denominator (like XML is) you: 1) lack the expression and have to type/generate lot of pointless code and 2) start mixing various types of content in a wrong ways (like tables for layouts, padding with spaces, CSS sprites etc).