IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  recursive calling

    Posted Fri July 08, 2005 01:07 PM

    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


    #webMethods
    #Tamino
    #API-Management


  • 2.  RE: recursive calling

    Posted Fri July 08, 2005 08:15 PM

    I recommend Michael Kay’s book “XSLT Programmer’s Reference”. I found it very helpful when starting out in XSLT.


    #webMethods
    #Tamino
    #API-Management


  • 3.  RE: recursive calling

    Posted Mon July 18, 2005 05:58 PM

    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.


    #API-Management
    #webMethods
    #Tamino