Re: [xsl] xsl:apply-templates and select option

Subject: Re: [xsl] xsl:apply-templates and select option
From: omprakash.v@xxxxxxxxxxxxx
Date: Fri, 2 Jun 2006 09:50:35 +0530
Hi,
          You only need

                         <xsl:apply-templates mode="sub"/> instead of

                   <xsl:apply-templates select="/" mode="sub"/>

cheers,
prakash









                                                                                                                                               
                      "Rasoul Hajikhani"                                                                                                       
                      <Rasoul.Hajikhani@experianinter         To:      <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>                                       
                      active.com>                             cc:      (bcc: omprakash.v/Polaris)                                              
                                                              Subject: [xsl] xsl:apply-templates and select option                             
                      06/01/2006 10:30 PM                                                                                                      
                      Please respond to xsl-list                                                                                               
                                                                                                                                               
                                                                                                                                               




Hi there,
I am trying to process the result of apply-templates call by the
following:

<xsl:template match="/">
                         <xsl:variable name="call-result">
                                     <ELSGenericMessage>
                                                 <xsl:apply-templates
select="/"
mode="sub"/>
                                     </ELSGenericMessage>
                         </xsl:variable>
                         <xsl:apply-templates mode="grouper"
select="msxsl:node-set($call-result)"/>

However, in "grouper" I get the original document. Can some one tell me
what am I doing wrong?
Thanks.
-r



This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only.  If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.

Visit us at http://www.polaris.co.in

Current Thread