3 ms·
XSLT was the only convenient way to create a static website without JS. Other ways either require build step or server-side applications. With XSLT, you could w
by vbezhenar 1y ago
XSLT was the only convenient way to create a static website without JS. Other ways either require build step or server-side applications. With XSLT, you could write data into XML files, templating into XSL files and it'll just work.
Of course you can achieve similar effects with JS, by downloading data files and rendering them into whatever HTML you want. But that cuts users without enabled JS.
Not a huge loss, I guess, given the lack of popularity of these technologies. But loss nonetheless. One more step to bloated overengineered web.
- DonHopkins 1y ago> But that cuts users without enabled JS. Users who disable JS are insane and hypocritical if they don't also disable XSLT, which is even worse. So I wouldn't bend over too far backwards to support insane hypocrites. There aren't enough of them to matter, they enjoy having something to complain about, and they're much louder and more performative than the overwhelming majority of users. Not a huge loss cutting them out at all.
- vbezhenar 1y agoI don't think you can disable XSLT without patching browser. For disabling JavaScript, there are dedicated checkboxes in every browser.
- deleted 1y ago[deleted]