Hacker News new | ask | show | jobs
by mortarion 214 days ago
I don't think XSLT was invented for the purpose of rendering XML into HTML in the first place. Perhaps it never should have been introduced in browsers to begin with?
2 comments

XSLT was invented to transform one XML document to another XML document.

Browser can render XHTML which is also a valid XML.

So it's pretty natural to use XSLT to convert XML into XHTML which is rendered by browser. Of course you can do it on the server side, but client side support enables some interesting use-cases.

Wrong. Can you dissenters at least provide proof of your nonsense lies? XSLT is apart of the HTML standard.
No it isn’t.
Yes it is loser