There may be some of that, especially at the beginning, but with a little experience that phase seems to pass, it helps to be working in an environment with a good XSLT debugger of course...
I think the fundamental issue may be more to do with a flawed distinction between read "code" and just a "stylesheet / data transform"