This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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.