You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stavros Kounis <sk...@gmail.com> on 2005/05/19 07:48:13 UTC

Re: XSP / XSL database_tag2Html

On 5/19/05, Alessandro Vincelli <a....@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


Re: XSP / XSL database_tag2Html

Posted by Alessandro Vincelli <av...@alessandro.vincelli.name>.
Thanks a lot.


Stavros Kounis ha scritto:
> On 5/19/05, Alessandro Vincelli <a....@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