You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by System Administrator <ro...@black-dog-consultants.co.uk> on 2002/06/18 18:32:30 UTC
Pass a xsl variable as a esql tag parameter?
Hi all,
I'm having problems passing an xsl variable as a parameter to esql.
1 - I am defining a column name as a variable called col1.
2 - I want to use this variable as the column value in the
<esql:get-string > tag.
This is not working, producing a language exception
<xsl:variable name="col1">
column1
</xsl:variable>
<esql:results>
<esql:row-results>
<esql:get-string column="{$col1}" />
</esql:row-results>
</esql:results>
Is this the right way to do this?
Any help appreciated.
Regards
Graeme Colman.
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Pass a xsl variable as a esql tag parameter?
Posted by Graeme Colman <gr...@yahoo.com>.
I am trying to write a logicsheet.
Graeme.
--- Vadim Gritsenko <va...@verizon.net>
wrote: > > From: System Administrator
> [mailto:root@black-dog-consultants.co.uk]
> >
> > Hi all,
> >
> > I'm having problems passing an xsl variable as a
> parameter to esql.
>
> What are you trying to do - create a logicsheet or
> write an XSP page?
>
> Vadim
>
>
> > 1 - I am defining a column name as a variable
> called col1.
> > 2 - I want to use this variable as the column
> value in the
> > <esql:get-string > tag.
> >
> > This is not working, producing a language
> exception
> >
> >
> > <xsl:variable name="col1">
> > column1
> > </xsl:variable>
> >
> >
> > <esql:results>
> > <esql:row-results>
> > <esql:get-string column="{$col1}" />
> > </esql:row-results>
> > </esql:results>
> >
> >
> > Is this the right way to do this?
> >
> > Any help appreciated.
> >
> > Regards
> > Graeme Colman.
> >
>
>
>
---------------------------------------------------------------------
> Please check that your question has not already
> been answered in the
> FAQ before posting.
> <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:
> <co...@xml.apache.org>
> For additional commands, e-mail:
> <co...@xml.apache.org>
>
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: Pass a xsl variable as a esql tag parameter?
Posted by Vadim Gritsenko <va...@verizon.net>.
> From: System Administrator [mailto:root@black-dog-consultants.co.uk]
>
> Hi all,
>
> I'm having problems passing an xsl variable as a parameter to esql.
What are you trying to do - create a logicsheet or write an XSP page?
Vadim
> 1 - I am defining a column name as a variable called col1.
> 2 - I want to use this variable as the column value in the
> <esql:get-string > tag.
>
> This is not working, producing a language exception
>
>
> <xsl:variable name="col1">
> column1
> </xsl:variable>
>
>
> <esql:results>
> <esql:row-results>
> <esql:get-string column="{$col1}" />
> </esql:row-results>
> </esql:results>
>
>
> Is this the right way to do this?
>
> Any help appreciated.
>
> Regards
> Graeme Colman.
>
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>