Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


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

From: "Rasoul Hajikhani" <Rasoul.Hajikhani@----------------------->
To:
Date: 6/2/2006 2:05:00 PM
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


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent