←back to thread

392 points _kush | 1 comments | | HN request time: 0.249s | source
Show context
fergie ◴[] No.44394408[source]
What is this "XSLT works natively in the browser" sourcery? The last time I used XSLT was like 20 years ago- but I used it A LOT, FOR YEARS. In those days you needed a massive wobbly tower of enterprise Java to make it work which sort of detracted from the elegance of XSLT itself. But if XSLT actually works in the browser- has the holy grail of host-anywhere static templating actually been sitting under our noses this whole time?
replies(10): >>44394475 #>>44394896 #>>44395079 #>>44395141 #>>44395223 #>>44395594 #>>44396076 #>>44396139 #>>44397002 #>>44399078 #
1. Mikhail_Edoshin ◴[] No.44397002[source]
Chrome has libxslt; FireFox has something called "Transformiix". Both 1.0. Chrome has no extensions, only 'exsl:node-set'; FireFox has quite a few, although not all of EXSLT.

Plug: here is a small project to get the basic information about the XSLT processor and available extensions. To use with a browser find the 'out/detect.xslt' file there and drag it into the browser. Works with Chrome and Firefox; didn't work with Safari, but I only have an old Windows version of it.

https://github.com/MikhailEdoshin/xslt-detect-ext/