[xsl] <xsl:copy-of>

Subject: [xsl] <xsl:copy-of>
From: "Palaniappan, Krishnasamy" <PalaniK@xxxxxxxxxxx>
Date: Tue, 9 Jan 2001 16:48:15 -0500
I have a variable defined like this:
		<xsl:variable name="try">
		 <xsl:call-template name="tableheadingDT">
		 <xsl:with-param name="bcolor" select="'LIGHTSKYBLUE'"/>
I want to call it using:
		<xsl:copy-of select="$try"/>
		<xsl:with-param name="param1" values="'value1'"/> <!-- 2nd parameter to the template above is passed here -->
		</xsl:call-template> <!-- closing the template opened above -->

However, I am getting an error because there is no ending tag for the <xsl:call-template> in the <xsl:variable> block.

I have a need to do something like this. Is there a way?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread