xsl-list
[Top] [All Lists]

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

2006-06-02 07:04:55
Thanks Prakash for your reply. But this did not resolve my issue.
I need to have grouper process the result of sub template, and its not
happening. It instead tries to parse the original xml doc.
Thanks
-r

-----Original Message-----
From: omprakash(_dot_)v(_at_)polaris(_dot_)co(_dot_)in 
[mailto:omprakash(_dot_)v(_at_)polaris(_dot_)co(_dot_)in] 
Sent: Thursday, June 01, 2006 9:21 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] xsl:apply-templates and select option

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>
--~--




--~------------------------------------------------------------------
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>
--~--