-
Notifications
You must be signed in to change notification settings - Fork 3k
Remove mentions of XSLT from the html spec #11563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
First, my apologies for commenting here; #11523 was (rightfully) locked while I was in the middle of composing this comment, but I didn't see any of these points mentioned elsewhere in that thread, so I'm adding it here.
Personal note: I maintain a site that uses However, my main concern is for the “long tail” of the web—there's lots of vital information only available on random university/personal websites last updated before 2005, or are only available on the Internet Archive. Many of these sites use |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Some notable uses of XSLT that aren't for RSS:
Personally, I'm using XSLT to transform complex XML data into multiple tables for viewing as HTML, so removing this functionality is frustrating. I'm also using it on microcontrollers where memory is limited (meaning that large HTTP responses need to be avoided) so that they only need to send a small dynamic XML document and the browser can transform it with a static immutable XSLT file into HTML. It's not practical to provide a polyfill that embeds the whole of libxml2 on a microcontroller webserver so this change would be forcing a re-implementation in JavaScript. Content that could be parsed independently as XML would become an opaque HTML document. Page load stats don't necessarily indicate the quantity of existing content that could be accessed, and the number as a percentage of total page loads would be expected to go down over time given that adoption is hindered by web browsers only supporting XSLT 1.0 when there are features in XSLT 2.0 and later versions that would make it easier to use. |
Thanks to @Zergy and @nomis for their useful comments on this PR. I feel that it is a bad idea to remove XSLT from the web platform at this time, and I chafe under the reality that it is large browser vendors who today decide what the "web platform" even is. Discussion of limited resources is moot, because the large browser vendors have effectively unlimited resources — which they are today using to snuff out important parts of the Open Web, redefining podcasts as YouTube channels, etc. As you have seen in the other discussion prior to closing it and censoring a dozen on-topic comments written with care, there are a lot of very diverse ways that XSLT is being used to enrich the Web today. It's time to remember that the Web is all of us who publish websites. That's who ought to be deciding what is part of the "Web platform". I deeply love the World Wide Web, the creative and strange things that people put on there. Without lionising the problematic days of W3C, I wish that today's stewards of the Web came to it from a place of love for the platform and its history. I sincerely encourage anyone looking at this page to decide for themselves whether my comment is off-topic or not. I think it is highly on-topic. |
Nice, thanks for working on this! Don't forget to also update https://dom.spec.whatwg.org/#xslt at the same time. |
Yep, thanks for the reminder. I'll put up a PR for DOM also. |
This PR removes all mention of XSLT in the html spec.
Closes #11523
Core documentation starts here: https://developer.mozilla.org/en-US/docs/Web/XML/XSLT
(See WHATWG Working Mode: Changes for more details.)
/dom.html ( diff )
/index.html ( diff )
/infrastructure.html ( diff )
/references.html ( diff )
/scripting.html ( diff )