This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: <xsl:copy-of>
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] <xsl:copy-of>
- From: "Chris Bayes" <Chris at Bayes dot co dot uk>
- Date: Tue, 9 Jan 2001 22:17:52 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
Um.
<xsl:call-template name="tableheadingDT">
<xsl:with-param name="bcolor" select="'LIGHTSKYBLUE'"/>
</xsl:call-template>
comes to mind.
XML/XSL Portal
http://www.bayes.co.uk/xml
>-----Original Message-----
>From: owner-xsl-list@lists.mulberrytech.com
>[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Palaniappan,
>Krishnasamy
>Sent: 09 January 2001 21:48
>To: 'xslt'
>Subject: [xsl] <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
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list