That probably would have been cleaner back in the day, but with rich UIs being what they are, I think JSON + client side templating logic is probably simpler (and composes well).
I never had much luck using XSLT for anything non-trivial, and I imagine that experience isn't uncommon.
I never had much luck using XSLT for anything non-trivial, and I imagine that experience isn't uncommon.