[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
There's no need for all the complexity of variable passing. The template that you are calling is fully contextualized as though the code where in the place where the call is made. Your named template that you call can access @jdbc-type itself, don't pass a param.
I realize I didn't exactly answer, but hopefully that will help.
simon
On Thursday, January 9, 2003, at 01:03 AM, Anthony Kong wrote:
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] how to capture a value returned by a template call into a variable
Subject: Re: [xsl] how to capture a value returned by a template call into a variable From: S Woodside <sbwoodside@xxxxxxxxx> Date: Fri, 10 Jan 2003 02:21:11 -0500 |
There's no need for all the complexity of variable passing. The template that you are calling is fully contextualized as though the code where in the place where the call is made. Your named template that you call can access @jdbc-type itself, don't pass a param.
I realize I didn't exactly answer, but hopefully that will help.
simon
On Thursday, January 9, 2003, at 01:03 AM, Anthony Kong wrote:
<xsl:variable name="java_type"> <xsl:call-template name="translate_type"> <xsl:with-param name="db_type" select="@jdbc-type"/> </xsl:call-template> </xsl:variable>
I intended (wish, actually :-) to capture the result into variable "java_type". However it failed.
What is a better way to achieve this?
--- www.simonwoodside.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] how to capture a value return, Anthony Kong | Thread | RE: [xsl] how to capture a value re, Edward . Middleton |
RE: [xsl] How do I validate against, Edward . Middleton | Date | Re: [xsl] how to capture a value re, S Woodside |
Month |