If you are getting nothing as the parameter of the second template, then perhaps it is not being called by the first template. Perhaps the first template calls a built-in template rule for some node, and that rule in turn calls the second template.
Joined: Dec 17, 2001
Thanks Paul. I think you are right. The apply-template is calling some other template because it is working if I use call-template.
subject: XSLT apply-template with-param not working