Hi,
I am new to XSLT programming. Can anybody tell me how to call a template recursively or How we write teh recursive matched template?
Thanks and Regards
Hi,
I am new to XSLT programming. Can anybody tell me how to call a template recursively or How we write teh recursive matched template?
Thanks and Regards
I recommend Michael Kay’s book “XSLT Programmer’s Reference”. I found it very helpful when starting out in XSLT.
I too recommend Michael Kay’s book. If you’re not ready to go out and buy a book, you might check out the w3schools XSLT tutorial.
The reason you’re getting pointers to reference works instead of a direct answer is that the question indicates you really need a better grounding in the language. Recursive template invocation is so natural in XSLT that a better question might be “how can I not call a template recursively?” Both xsl:apply-templates and xsl:call-template work recursively whenever necessary.