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

XSLT has a steep learning curve and it’s extremely verbose. But my main problem with it is that (as far as I know) XHTML isn’t being updated alongside the current HTML spec (with semantic elements).

Related: I’ll admit that I used to use XSLT for my static site generators [1] and now I’ve switched to string interpolation (with conservative escaping as the default) [2]. Edit: In my case, the goal was to simplify and reduce dependencies.

[1] https://github.com/jaredkrinke/flog/blob/main/post.xsl

[2] https://github.com/jaredkrinke/literal-html



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

Search: