XSLT got an unfair shake. Yes, XML is ugly, and verbose, and painful to write code in, but the ideas were very good. Most users never understood the processing model or the declarative/functional nature of XSLT, and so tried to write procedural code with it, with predictably nasty outcomes (hint: <xsl:if> is almost always a code smell). But those who did get it, could use it to write some pretty elegant little programs.
Re:How to Design Software Good
by tonyedgecombe on Friday November 09, 2018 @03:57AM
(#18413196)
I liked XSLT for XML to XML but using it for creating HTML was a nightmare.
I gives me the best of two worlds: simple markup with complete control of output and CSS styling and instant changes of all documents without a compilation step.