Passing database result as parameter in XSL

2002-11-20 Thread Ebert Andreas
Hello, I am trying to pass a parameter from one XSL template to another using the code snippet below. The value of the parameter should be obtained from a database. Unfortunately, the code does not work and I do not have any idea why. Is it possible to do that with XSLT or do I misunderstand

Re: Passing database result as parameter in XSL

2002-11-20 Thread Leszek Gawron
On Wed, Nov 20, 2002 at 02:47:42PM +0100, Ebert Andreas wrote: Hello, I am trying to pass a parameter from one XSL template to another using the code snippet below. The value of the parameter should be obtained from a database. Unfortunately, the code does not work and I do not have any idea

RE: Passing database result as parameter in XSL

2002-11-20 Thread Ebert Andreas
Hi Leszek, xsl:call-template name=category xsl:with-param name=categoryidesql:get-int column=categoryid//xsl:with-param /xsl:call-template If I hardcode the parameter (e.g. replace 'esql:get-int column=categoryid/' with '4') everything works fine. AFAIR you are allowed to

Re: Passing database result as parameter in XSL

2002-11-20 Thread Christian Haul
Ebert Andreas wrote: Hi Leszek, xsl:call-template name=category xsl:with-param name=categoryidesql:get-int column=categoryid//xsl:with-param /xsl:call-template If I hardcode the parameter (e.g. replace 'esql:get-int column=categoryid/' with '4') everything works fine. AFAIR you are allowed