|
|
|
|
|
by scotty79
298 days ago
|
|
XSLT is much nicer to use if you just create a very simple templating language that compiles to XSLT. Subset of XLST already has a structure of typical templating language. It can even be done with regexps. Then simplicity becomes a feature. You can write your page in pretty much pure HTML, or even pure HTML if you use comments or custom tags for block markers. Each template is simple and straightforward to write and read. And while different date format seems to be a one off thing you'd prefer to deal with as late as possible in the stack, if you think broader, like addressing global audience in their respective languages and cultures, you want to support that on the server so the data (dates, numbers, labels) lands on the client in the correct language and culture. Then doing just dates and perhaps numbers in the browser is just inconsistent. If browsers implemented https://en.m.wikipedia.org/wiki/Efficient_XML_Interchange
the web would get double digit percent lighter and faster and more accessible to humans and ai. But that would let you filter out ads orders of magnitude easier. So it won't happen. |
|
Developers deemed it too complex (or they were just stupid?)
SharePoint 2013 went the CSR (Microsofts "Client-Side-Rendering") path and SharePoint 2016 went the JSON/React path
Maybe with current AI aid XSLT would have had a chance... or we are still just too stupid.
Yes, XML/XSLT is a better technology, so was any Video Casette tape BUT VHS in the early 80s