how about using this syntax ? <esql:get-string> <xsp:attribute> <xsp:param name="name">column</xsp:param> <xsp:param name="uri">http://apache.org/cocoon/SQL/v2</xsp:param> <xsp:param name="prefix"/> <xsp:expr>xxxx</xsp:expr> </xsp:attribute> </esql:get-string>
there _must_ be a way ! Eric -----Message d'origine----- De : Anna Bikkina [mailto:[EMAIL PROTECTED] Envoyé : 20 octobre, 2005 11:53 À : Markus Vaterlaus Cc : Cocoon users group Objet : Re: ESQL question I tried doing xsp:expr but that didnt work. Is there any way I can do with xsp:logic. Thanks, Anna. On Thu, 2005-10-20 at 11:27, Markus Vaterlaus wrote: > Hi Anna > > can't you do it with a bit of <xsp:logic/>? > > Markus > > On 10/20/05, Anna Bikkina <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to get data from the database. My sqlstatement and > the order > of columns retreived are dynamically built so when I am > getting > esql:get-string > column="XXX" I want to make xxxx dynamic like > > <esql:get-string column=<xsp:expr>columnname</xsp:expr>/> > > Is there a way we can do it? > > Thanks in advance > > Anna. > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]