cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stavros Kounis <skou...@gmail.com>
Subject Re: XSP / XSL database_tag2Html
Date Thu, 19 May 2005 05:48:13 GMT
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
> 
> 


-- 
Stavros Kounis                        Osmosis networks & consulting
http://tools.osmosis.gr/blog          http://www.osmosis.gr

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


Mime
View raw message