News for hackers. Stuff that matters.
Re:Chrome intends to remove XSLT from the HTML spec by bawolff on Tuesday August 19, 2025 @01:07PM (#44953772)
If people are upset about xslt being removed, step 1 would have been to actually use it in a significant way on the web. Step 2 would have been to volunteer to maintain libxslt.

Everyone likes to complain as a user of open source. Nobody likes to do the difficult work.

Re:Chrome intends to remove XSLT from the HTML spec by starkparker on Tuesday August 19, 2025 @03:50PM (#44955602)
Didn't someone step up to volunteer ot maintain libxslt a few weeks ago? https://gitlab.gnome.org/GNOME/libxslt/-/issues/150
Re:Chrome intends to remove XSLT from the HTML spec by moomin on Tuesday August 19, 2025 @04:20PM (#44955870)
Knowing our luck it’s probably Jia Tan.
Re:Chrome intends to remove XSLT from the HTML spec by rendaw on Tuesday August 19, 2025 @10:58PM (#44958269)
I'm not that familiar with XSLT but isn't it already quite hobbled? Can it be used in a significant way? Or is this a chicken-egg problem where proving it's useful requires the implementation to be filled out first.
Re:Chrome intends to remove XSLT from the HTML spec by phatskat on Thursday August 21, 2025 @03:02AM (#44969893)
On the link in the post you can scroll down to someone’s comment with a few links to XSLT in action.

It’s been years since I’ve touched it, but clicking the congressional bill XML link and seeing a perfectly formatted and readable page reminded me of exactly why XSLT has a place. To do the same thing without it, you’d need some other engine to parse the XML, convert it to HTML, and then ensure the proper styles get applied - this could of course be backend or frontend, either way it’s a lot of engineering overhead for a task that, with XSLT, requires just a stylesheet.

Re:Chrome intends to remove XSLT from the HTML spec by bawolff on Thursday August 21, 2025 @05:15PM (#44978200)
> To do the same thing without it, you’d need some other engine to parse the XML, convert it to HTML, and then ensure the proper styles get applied

No, you can use <?xml-stylesheet ?> directives with CSS to attach a css stylesheet directly to an xml file.

CSS is not as flexible as xslt, but this seems to be very simple formatting which is well within what css is capable of.

Re:Chrome intends to remove XSLT from the HTML spec by bilog on Friday August 22, 2025 @05:03AM (#44982356)
Re:Chrome intends to remove XSLT from the HTML spec by troupo on Wednesday August 20, 2025 @01:38AM (#44958939)
Do Library of Congress and Congress count as significant usage?

https://news.ycombinator.com/item?id=44958929

Re:Chrome intends to remove XSLT from the HTML spec by ycombinatrix on Sunday August 24, 2025 @09:20AM (#45004065)
Not to WhatWG apparently
Re:Chrome intends to remove XSLT from the HTML spec by account42 on Wednesday August 20, 2025 @03:36AM (#44959603)
What use would count as significant? Only if big corp like Google uses it?

XSLT is used on the web. That's why people are upset about Google & friends removing it while ignoring user feedback.

Re:Chrome intends to remove XSLT from the HTML spec by stuaxo on Wednesday August 20, 2025 @05:00AM (#44960066)
Yep, there's a massive bias in companies like Google, Amazon, Microsoft to only see companies their own size.

Outside of this is a whole universe.