This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
<xsl:copy-of>
- To: "'xslt'" <XSL-List at lists dot mulberrytech dot com>
- Subject: [xsl] <xsl:copy-of>
- From: "Palaniappan, Krishnasamy" <PalaniK at diebold dot com>
- Date: Tue, 9 Jan 2001 16:48:15 -0500
- Reply-To: xsl-list at lists dot mulberrytech dot com
Hi,
I have a variable defined like this:
<xsl:variable name="try">
<xsl:call-template name="tableheadingDT">
<xsl:with-param name="bcolor" select="'LIGHTSKYBLUE'"/>
</xsl:variable>
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?
Thanks,
Krish
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list