Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Multiple MB?

I'm looking at: https://github.com/mfreed7/xslt_polyfill

Which uses: 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.



> 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.



I 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: