mmh, am I wrong in assuming you are a real beginner?
templates can not be nested
you should put them next to each-other
This sounds like sharepoint, is it?
So you are bound to XSLT1, you cannot use tokenize() then
Here is how you should organize the templates