"Google hates XML" me too "keep XSLT alive" Absolutely the fuck not. Have you written XSLT. I have and I wish to never encounter it again in any context
@whitequark I once wrote a website that used Microsoft JScript to generate XML which was then “styled” and transformed to XHTML using XSLT. By the technology stack you can probably estimate the era. I say let it die.
if, when faced with an event, your response to it is to go "I'm sure somebody's affected! Let me go find who it is by piping the results from an `inurl:.xml` search directly into a discussion" this is a reactionary impulse and should be examined as such
@whitequark XHTML and everything related to it are relics from a dark time in the web standards space and should be treated as nothing more than historical curiosities.
My only complaint here is that they're not replacing it with some generic way for the server to specify a client-side (WebAssembly?) program to transform an arbitrary response body into HTML, like you could do until now with XML and XSLT.
That'd be a hell of a lot cleaner and more elegant than sending a mostly-blank HTML page with a script that separately fetches and transforms the actual content.
And it would be easier on the server than server-side rendering.
That's problematic. Anything other than a browser that needs to read the XML is going to be confused by the presence of an HTML script element.
I don't even want to know what would happen if you tried this trick with an RSS feed or XML sitemap. Google itself would probably reject it as invalid.
I'd much rather they replace it with an HTTP response header that nominates a WebAssembly preprocessor program.
@argv_minus_one I think Wasm GC has to land for that first, but yeah that's actually the plan I'm fairly sure. WebIDL<>Wasm bridge people tried to build and it was impractical at the time afaik
@whitequark Having never had to deal with XSLT (which sounds like a good thing, if I'm reading the internet correctly), the specific tech they're getting rid of doesn't seem like a big deal.
The precedent it sets is, though. The ad company with the browser monopoly being able to unilaterally decide what tech is and is not part of the web is a bit concerning.
@tauon@tedmielczarek i was writing (and later, shipping) XHTML and XUL apps when you weren't even born. please do not tell me what this mentality is or is not
@whitequark@mastodon.social@tedmielczarek@mastodon.social if you prefer 7mb of js slop apps then sure, but calling preferring alternative technologies (that actually work mind you) toxic techbro legacy software just proves exactly what the web mindset is. you will not survive in this world
@tauon@tedmielczarek it means that I was there to use these technlogies enough to know that what replaced them is clearly better, while you cannot have anything but a revisionist view on it
@IngaLovinde I think restrictive, less-than-Turing-complete transformation and presentation DSLs are valuable and useful tools (my own career started with designing one of those, better!) but I also think that XSLT is a particularly poor implementation of the concept
@whitequark I have written xslt and I really liked it. I even based the entire template engine of my largest personal project ever (web boards software) on xslt.
What I especially liked about it (that was 2010 though) was that it was all about _transforming_ data, and not just a general purpose language with general purpose constructions; so it kinda forces the developer into a different mindset where one has to think about how input maps on the output rather than (which is the case with other template engines) how to write a general purpose program producing the output, or how to put the data in the placeholders.