2 ms·
Multiple MB? I'm looking at: https://github.com/mfreed7/xslt_polyfill https://github.com/mfreed7/xslt_polyfill Which uses: https://github.com/DesignLiquido/xs
by crazygringo 1y ago
Multiple MB?
I'm looking at: https://github.com/mfreed7/xslt_polyfill https://github.com/mfreed7/xslt_polyfill
Which uses: https://github.com/DesignLiquido/xslt-processor/tree/main https://github.com/DesignLiquido/xslt-processor/tree/main
But they don't look that heavy. Am I missing something? Megabytes of JS would be enormous.
- svieira 1y ago> The implementation is all agnostic about namespaces. It just expects XSLT elements to have tags that carry the xsl: prefix, but we disregard all namespace declaration for them. Just for a start. It's a tiny polyfill for a tiny subset of the thing that is XSLT 1.0.
- 8organicbits 1y agoxslt-polyfill.min.js is 1.3 MB on its own https://github.com/mfreed7/xslt_polyfill/blob/main/xslt-polyfill.min.js https://github.com/mfreed7/xslt_polyfill/blob/main/xslt-poly...
- crazygringo 1y agoI see, thank you -- so it's not the JavaScript part, it's basically 99% a huge WASM blob. I can understand not wanting to include something like that, yikes.