←back to thread

69 points jdkoeck | 1 comments | | HN request time: 0.205s | source
Show context
RadiozRadioz ◴[] No.44436831[source]
I think it would look a lot like XSLT
replies(1): >>44437322 #
righthand ◴[] No.44437322[source]
I got into XSLT after the HN grug brain article last week. It is wonderful and I have my whole site (100 pages/files) migrated in less than an hour (w/o using LLM) and have it served off a 4 line caddy file.

Seriously browsers just need to adopt XSLT 3.0 and stop all this wheel reinvention already.

replies(2): >>44437613 #>>44437781 #
1. LegionMammal978 ◴[] No.44437613[source]
Eh, I also thought that at one point (regarding XSLT 3.0), but it turns out that parts of it are an underspecified mess. E.g., you can specify static parameters to be supplied to the document, but it has nothing on when or how any type-conversion errors would be signaled [0]. And in general, it has very imperative features like shadow attributes that purists would turn up their noses at. I don't see it becoming widespread anytime soon.

[0] https://github.com/Paligo/xee/issues/32#issuecomment-2762343...