My comment was mainly to argue against implementing too much logic in XSLT. I have seen one or two examples in my regular work life where developers have put way too much logic in XSLT, and it truly bordered on being unmaintainable. They were literally parsing text using XSLT.
Anyway, the initial post in this thread made it sound like they were implementing business logic this way, and it just doesn't sound like a good idea.
And for what it's worth, I think XSLT is a bad language. I've
done a lot with it in the past, and I never enjoyed it. There is just way too
much visual noise. Part of what makes a programming language good or
bad is it's ability to be readable. (IMO)