This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

<xsl:copy-of>


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]