[xsl] xsl:apply-templates and select option

Subject: [xsl] xsl:apply-templates and select option
From: "Rasoul Hajikhani" <Rasoul.Hajikhani@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 1 Jun 2006 10:00:35 -0700
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

Current Thread