You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "semprini@libero.it" <se...@libero.it> on 2000/11/16 16:13:26 UTC

Insert attribute inside a markup generatedd by xsp processor

hi,
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?