cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Vincelli ...@alessandro.vincelli.name>
Subject Re: XSP / XSL database_tag2Html
Date Thu, 19 May 2005 08:17:56 GMT
Thanks a lot.


Stavros Kounis ha scritto:
> On 5/19/05, Alessandro Vincelli <a.vincelli@w4b.it> wrote:
> 
>>Hi
>>
>>I using Cform/htmlarea
>>
>>I store in database text as
>>
>><span style="font-weight: bold;">
>>Some text<br />
>>More text
>></span>
>>
>>
>>When I retrieve field from DB
>>
>>     <esql:execute-query>
>>        <esql:query>SELECT * FROM  ..... WHERE .... </esql:query>
>>            <esql:results>
>>                <esql:row-results>
>>                    <corpo><esql:get-string column="sccorpot"/></corpo>
>>                </esql:row-results>
>>            </esql:results>
>>        </esql:execute-query>
>>
>>
>>and serialize this in XML, the output is:
>>
>>/&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span
style="font-weight: bold;"&gt;&lt;br /&
> 
> 
> hi alessandro
> 
> just try 
> esql:row-results//esql:get-xml  
> instead
> 
> you can also thake a look at ESQL Taglib page [1]
> 
> 
> [1] http://cocoon.apache.org/2.1/userdocs/xsp/esql.html
> 
> --stavros 
> 
> 
> 
>>
>>I can disable this tag escaping?
>>
>>thanks.
>>
>>Alessandro
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
> 
> 
> 

-- 
-------------------------------
Alessandro Vincelli
E-mail: av@alessandro.vincelli.name
tel: +39 339 8695546


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message