News for hackers. Stuff that matters.
Re:Chrome intends to remove XSLT from the HTML spec by JimDabell on Tuesday August 19, 2025 @01:20PM (#44953913)
> I think this could be addressed by introducing a <?human-readable ...some url...?> processing instruction that browsers would interpret like a meta tag redirect. Then sites that are interested could put that line at the top of their XML files and redirect to an alternative representation in HTML or even to a server-side or WASM-powered XSLT processor for the file.

HTTP has already had this since the 90s. Clients send the Accept HTTP header indicating which format they want and servers can respond with alternative representations. You can already respond with HTML for browsers and XML for other clients today. You don’t need the browser to know how to do the transformation.

Re:Chrome intends to remove XSLT from the HTML spec by youngtaff on Tuesday August 19, 2025 @01:30PM (#44954044)
Apart from that doesn’t really work for people who are statically hosting their RSS feeds etc.
Re:Chrome intends to remove XSLT from the HTML spec by JimDabell on Tuesday August 19, 2025 @01:37PM (#44954117)
You can use content negotiation with static websites too. Apache has mod_negotiation, for example.
Re:Chrome intends to remove XSLT from the HTML spec by ndriscoll on Tuesday August 19, 2025 @01:50PM (#44954255)
Assuming you have access to server configuration. XML/XSLT works anywhere you can host a static page.
Re:Chrome intends to remove XSLT from the HTML spec by em-bee on Saturday August 23, 2025 @01:41PM (#44997663)
it still depends on the mimetype those servers use to host the files.
Re:Chrome intends to remove XSLT from the HTML spec by youngtaff on Tuesday August 19, 2025 @02:52PM (#44954918)
Most people are hosting static sites on GH pages, Vercel, Netlify, Cloudflare pages etc
Re:Chrome intends to remove XSLT from the HTML spec by stuaxo on Wednesday August 20, 2025 @05:04AM (#44960091)
This is breaking the web though.

If they are so worried, then have the xslt support compiled to wasm and sandboxed.

Re:Chrome intends to remove XSLT from the HTML spec by JimDabell on Wednesday August 20, 2025 @05:44AM (#44960323)
This is not breaking the web, stop being so needlessly hyperbolic. XSLT use is absolutely tiny. If you removed it, >99.9% of the web wouldn’t even notice.
Re:Chrome intends to remove XSLT from the HTML spec by cxr on Wednesday August 20, 2025 @09:42AM (#44961882)
If we removed everyone named Jim Dabell from the world, the other 99% wouldn't even notice. They're absolutely tiny. Perhaps we should try doing that.
Re:Chrome intends to remove XSLT from the HTML spec by JimDabell on Wednesday August 20, 2025 @10:25AM (#44962291)
It certainly wouldn’t break the world. You are being needlessly hyperbolic.
Re:Chrome intends to remove XSLT from the HTML spec by cxr on Wednesday August 20, 2025 @11:28AM (#44962833)
You're equivocating; "Don't break the Web" means what it has always meant, but you're not-so-subtly suggesting it means something else. Stop being a waste of time.