←back to thread

392 points _kush | 1 comments | | HN request time: 0s | 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. _heimdall ◴[] No.44396139[source]
XSLT works, though if I'm not mistaken browsers are all stuck on older versions of the spec. Firefox has a particularly annoying bug that I run into related to `disable-output-escaping` not really working when you need to encode HTML from the document to render as actual DOM (it renders the raw HTML text).