Hacker News
Chrome and Edge are removing XSLT: what breaks and what does not
cousin_it
|next
[-]
Trustable8
|next
|previous
[-]
wahern
|root
|parent
|next
[-]
I lost any enthusiasm for XML after my experience with WDDX and XML-RPC, but as a foundation for HTML it was the best thing going. And maybe still is, given the absence of cross-toolchain contenders? Ditto for XSLT, at least if disregarding the choice to make the syntax homoiconic. In fact I circled back to XSLT long after it was clear it was a dead end. A good tool is a good tool, and the fact it remains so despite the wanton neglect only proves it.
masklinn
|root
|parent
|next
[-]
Yeah and then we could have called it xhtml5. Too bad that does not exist. Oh wait https://html.spec.whatwg.org/multipage/xhtml.html
> But the anti-XML sentiment was explicit and spiteful.
No, xhtml was just a bad idea creating tons of problems and solving none.
kllrnohj
|root
|parent
[-]
Well an XHTML parser (and serializer) is a lot simpler, which is a pretty meaningful problem to solve.
What problems does xhtml create?
smallerize
|root
|parent
[-]
JoshTriplett
|root
|parent
[-]
But it wasn't something that could get introduced later, after all the broken content that already existed.
johnny22
|root
|parent
|next
|previous
[-]
It might actually work if reintroduced these days as long as we can consider many components to be valid documents.
g-b-r
|root
|parent
|previous
[-]
WCSTombs
|root
|parent
[-]
yokoprime
|next
|previous
[-]
compiler-devel
|next
|previous
[-]
g-b-r
|next
|previous
[-]
troupo
|next
|previous
[-]
jiggawatts
|next
|previous
[-]
I ignore every official statement about “support” and simply look at the horse's mouth: Microsoft hasn’t bothered to fix this in IIS, and likely never will.
It’s a dead product, “supported” only in a contractual sense, not a practical one.
(If you called support right now demanding fix for this, they’d tell you that it’s broken by design, have you tried moving to a recurring revenue service offering?)
Devasta
|next
|previous
[-]
Alas, for laughably bad reasons we had to scrap all that for HTML5, Javascript and CSS; a stack so awful that most devs doing anything on the frontend immediately scramble to React, TypeScript, Tailwind, whatever it takes to avoid the underlying garbage.
A horrid state of affairs that will only get worse as time goes on.
ebiester
|root
|parent
|next
[-]
The XHTML/XML/XSLT tooling was bad, and XSLT was hard to reason about. That meant that amateurs had no way to learn it, and those amateurs went to school and became the workforce.
The web became a winner because it was easy to get something working. And then Google made it a mission to make great developer tools in everyone's hands for free.
I think in 2026 we could build the tooling around a better experience, but it would require thinking about the developer experience first.
Telemakhos
|root
|parent
|next
|previous
[-]
But, as a stack, the XML/XSL/XPath/etc combination was weak because XSLT was hard to comprehend and never updated. No browser supports XSLT 2 or 3; they froze support with 1. XSLT 2 was 2007, a year before HTML 5 was a thing, yet it never got picked up by browsers. Javascript was just easier to understand than XSLT. Development of XHTML was also glacial, and people wanted new tags, especially for video.