Re:Chrome intends to remove XSLT from the HTML spec
by rebolek on Tuesday August 19, 2025 @12:32PM
(#44953427)
Why should the browser contain a specific scripting language, like JavaScript, and not ActiveScript for example?
[ Parent
| on HN ]
Re:Chrome intends to remove XSLT from the HTML spec
by xnx on Tuesday August 19, 2025 @12:40PM
(#44953499)
I suspect you might know this, but Internet Explorer 3 supported JavaScript (JScript) and VBScript in 1996.
Re:Chrome intends to remove XSLT from the HTML spec
by codedokode on Tuesday August 19, 2025 @12:52PM
(#44953617)
The browser could use Java or .NET bytecode interpreter - in this case it doesn't need to have a compiler and you can use any language - but in this case you won't be able to see a script's source code.
Re:Chrome intends to remove XSLT from the HTML spec
by const_cast on Tuesday August 19, 2025 @05:10PM
(#44956287)
You already effectively can't see a scripts source code because we compile, minify, and obfuscate JS these days. Because the performance characteristics are so poor.
Actually, most of the time C# decompiles nicer from CLR bytecode than esoterically built JS.
Re:Chrome intends to remove XSLT from the HTML spec
by krapp on Tuesday August 19, 2025 @12:40PM
(#44953496)
It's a consequence of javascript being "good enough." Originally, the goal was for the web to support multiple languages (I think one prototype of the <script> tag had a "type=text/tcl") and IE supported VBScript for a while.
But at the end of the day, you only really need one, and the type attribute was phased out of the script tag entirely, and Javascript won.
Re:Chrome intends to remove XSLT from the HTML spec
by joquarky on Tuesday August 19, 2025 @03:26PM
(#44955313)
BTW, over a third of court case management software in the US is run on VBScript hosted in IE7 compatibility mode.
Re:Chrome intends to remove XSLT from the HTML spec
by IgorPartola on Tuesday August 19, 2025 @12:47PM
(#44953565)
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...
It is actively used today.
Re:Chrome intends to remove XSLT from the HTML spec
by krapp on Tuesday August 19, 2025 @12:50PM
(#44953595)
Fair enough. Its use to denote other scripting languages was phased out.
Re:Chrome intends to remove XSLT from the HTML spec
by IgorPartola on Tuesday August 19, 2025 @01:15PM
(#44953855)
You can still use it that way you just would either have a browser extension or a JavaScript file read the contents and use it. Here is a 2017 Stack Overflow thread for example: https://stackoverflow.com/questions/14015899/embed-typescrip...