cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: Insert attribute inside a markup generatedd by xsp processor
Date Thu, 16 Nov 2000 17:48:04 GMT
"semprini@libero.it"<semprini@libero.it> wrote:
>If I have a table
>with id foreing key of other table
>
>TABLE DESCRIPTION
>id description   language
>1   first descr   ita
>1   sec descr     eng
>1   3rd descr     fra
>
>it's possible generate automatically
>xml markup with query sql( select description from description)
>like:
><description language="ita"> first descr</description>
><description language="eng"> sec descr</description>
><description language="fra"> 3rd descr</description>
>
>having as attribute a column value of the table using
>sql processor?

No, but it's possible with the esql taglib, using the get-string tag. (By 
the way, the sql processor is deprecated and no longer supported.)

Or you could just do it in a stylesheet, but that's outside the scope of 
this list.



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.


Mime
View raw message