[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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


Subject: RE: [xsl] xsl:apply-templates and select option
From: "Rasoul Hajikhani" <Rasoul.Hajikhani@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Jun 2006 07:04:31 -0700

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.v@xxxxxxxxxxxxx [mailto:omprakash.v@xxxxxxxxxxxxx]
Sent: Thursday, June 01, 2006 9:21 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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.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
Keywords
xml