xsl-list
[Top] [All Lists]

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

2006-06-01 21:21:08
Hi,
          You only need

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

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

cheers,
prakash









                                                                                
                                                               
                      "Rasoul Hajikhani"                                        
                                                               
                      <Rasoul(_dot_)Hajikhani(_at_)experianinter         To:    
  <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>                            
           
                      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


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--