[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: <xsl:copy-of>
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@xxxxxxxxxxxxxxxxxxxxxx >[mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Palaniappan, >Krishnasamy >Sent: 09 January 2001 21:48 >To: 'xslt' >Subject: <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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|