Hacker News
points by cowlevel 3 days ago | 0 comments
Yeah but you can also implement that by appending .json to the path to get JSON, like in the old reddit API
[–] qrios 3 days ago
By addinng .json you trigger a different render mode on the server. With in-browser XSLT the server does not need to support different rendering requirements.
[–] cowlevel 3 days ago
But the browser does and that's the dangerous attack surface
[–] qrios 3 days ago
Valid point. And as someone who used XSLT in the browser before 2k heavily it was clear, that this is not the way the web will go. To care not only browser specific rendering and styling behaviour, with browser-based XSLT you also had to track different integrations of libxsl.

But it was fun. One use case was a browsable work package documentation for a big public funded project. The browser native print function rendered the page in a different style with valid page breaks and numbers.