3 ms·
The author hasn't suggested XML for presentation, but rather for content.
by politician 15y ago
The author hasn't suggested XML for presentation, but rather for content.
- drdaeman 15y agoIMHO, 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).