Once you get to XSLT 2.0+, it is a programming language, just a very verbose one. I did a lot of XSLT/XQuery back in mid-00s, albeit not in web frontend context (we used it for code generation).
Unfortunately no browser has ever supported anything past XSLT 1.0.
Unfortunately no browser has ever supported anything past XSLT 1.0.