Direction of travel seems to be JavaScript for all of this sort of thing
Direction of travel seems to be JavaScript for all of this sort of thing
Posted Aug 27, 2025 22:42 UTC (Wed) by wahern (subscriber, #37304)In reply to: Direction of travel seems to be JavaScript for all of this sort of thing by farnz
Parent article: The tangled web of XSLT browser support
Imagine if browsers couldn't display PDFs, either natively or by reliably being able to pass it off to a local viewer. PDF as a open document format would lose much of its value, and walled gardens would flourish even more. This dynamic is precisely why YouTube makes it extremely difficult, if not impossible, to directly pull a video. Making the content tightly bound to their viewing platform is integral to how they achieved and maintain their dominance. It would appear (at least based on the claims) that RSS, like SMTP, achieved escape velocity before the dominance of walled garden platforms squashed the ecosystem, but that dynamic largely rests on built-in XSLT support.
Posted Aug 28, 2025 8:32 UTC (Thu)
by farnz (subscriber, #17727)
[Link]
I don't see any strong reason why the same couldn't happen with XSLT; people show cool tech demos outside the browser, using a JavaScript based viewer for their XML format (which is something that most of the usage of XSLT I've seen, bar the trick of making an RSS feed pretty, could do easily - they're currently serving an XML data file and XSLT file to generate a web page, they could serve a HTML5+JavaScript+CSS fileset and an XML data file).
The RSS use would need a bit more server-side assistance to serve the web page to browsers, and the RSS feed to RSS readers, but would at least be something you could prove works well, before asking browsers to integrate xslt.js.
PDF.js was prototyped outside the browser, and integrated when it was clear that it was useful (to replace PDF plugins, admittedly).
Direction of travel seems to be JavaScript for all of this sort of thing
