3 ms·
The strength of xml is xsl. The ability to declaratively transform the content into another form. I'm not aware of any way to do this with json other than by ha
by ams6110 13y ago
The strength of xml is xsl. The ability to declaratively transform the content into another form. I'm not aware of any way to do this with json other than by hand-rolling code.
- e12e 13y agoI'm not entirely certain that is a plus... Is writing a compiler/translator in xsl really more pleasant/easier to maintain than writing it in a "proper" language? That said, I really enjoyed: http://www.amazon.com/Program-Generators-Java-Craig-Cleaveland/dp/0130258784 http://www.amazon.com/Program-Generators-Java-Craig-Cleavela... edit: for example: you could transform an ant build.xml file -- but should you?
- arethuza 13y agoI would say that the strength of XML is XPath - forget the rest of XSL (XSLT and XSL-FO) - and I would still avoid it unless there was a real requirement for "document like" content.