mfreed7/xslt_polyfill
View on GitHub ↗ ★ 53 JavaScript
A polyfill for XSLTProcessor
10 mentions on Hacker News by 9 people: 0 stories, 10 comments · first 2025-08-25 · latest 2026-05-29
20082026
-
…https://news.ycombinator.com/item?id=45873434 No need to imagine a polyfil, they already exist: https://github.com/mfreed7/xslt_polyfill
comment by moebrowne · 2026-05-29 · in Avoid Using "< [Cdata[ ]]>" in RSS -
…really an issue? This is the method that the chrome teams polyfill to replace XSLT suggests you do. https://github.com/mfreed7/xslt_polyfill/tree/main#usage
comment by Devasta · 2026-04-27 · in The woes of sanitizing SVGs -
The lead dev driving the Chrome deprecation built a wasm polyfill https://github.com/mfreed7/xslt_polyfill . Multiple people proposed in the Github discussions leading up to this that Google simply make the polyfill ship with Chrome as an…
comment by willseth · 2025-11-05 · in Removing XSLT for a more secure browser -
Looks like there is a WASM polyfill for XSLT based on libxslt: https://github.com/mfreed7/xslt_polyfill To me this is the best way forward, I used to like XSLT quite a bit but the world has moved on and I get browser maintainers not…
comment by SigmundA · 2025-08-29 · in PSA: Libxslt is unmaintained and has 5 unpatched security bugs -
https://github.com/mfreed7/xslt_polyfill/pull/5 - it will be able to do this soon.
comment by 8NNTt8z3QvLT8tp · 2025-08-25 · in "Remove mentions of XSLT from the html spec" -
https://github.com/mfreed7/xslt_polyfill/pull/5 - someone's made a PR that looks like it would allow Mason's polyfill to work directly from the XML file.
comment by 8NNTt8z3QvLT8tp · 2025-08-25 · in XSLT removal will break multiple government and regulatory sites