Indeed Jos,

That's what we are trying to do.
E.g. avoiding that <hello/> becomes &lt;hello/&gt;

Actually we have data from a varchar database field containing a String with 
HTML tagged data, e.g. tags for bold (<strong>This text is bold</strong>), for 
italic (<em>This text is italicized</em>), etc ... and we want this formatting 
finally to be represented by the browser.

Thank you,

Paul

>----- Oorspronkelijk bericht -----
>Van
: Jos Snellings [mailto:jos.snelli...@pandora.be]
>Verzonden
: maandag
, december
 7, 2009 02:27 PM
>Aan
: users@cocoon.apache.org
>Onderwerp
: Re: escaping special characters in an XSP String
>
>Hi Paul,
>
>Can you please explain the purpose of not escaping?
>Do you want for instance to prevent ampersand from being converted to
>"&amp;" ?
>
>Best,
>Jos
>
>
>
>On Mon, 2009-12-07 at 13:21 +0000, Paul Adriaenssens wrote:
>> Hi,
>>
>> I want to avoid escaping special characters in an xsp String retrieved
>> through <xsp:expr>.
>>
>> In the archives
>>
>> http://www.mail-archive.com/cocoon-us...@xml.apache.org/msg20263.html
>> <https://webmail.ua.ac.be/exchweb/bin/redir.asp?URL=http://www.mail-archive.com/cocoon-us...@xml.apache.org/msg20263.html>
>>
>> http://www.mail-archive.com/cocoon-us...@xml.apache.org/msg16145.html
>> <https://webmail.ua.ac.be/exchweb/bin/redir.asp?URL=http://www.mail-archive.com/cocoon-us...@xml.apache.org/msg16145.html>
>>
>> I found this as a solution:
>>
>> <util:include-expr>
>> <util:expr><xsp:expr>
>> data
>> </xsp:expr></util:expr>
>> </util:include-expr>
>>
>> However it does not work, I see nothing in the output!
>>
>> Any ideas?
>>
>> We are using cocoon 2.1.11 ...
>>
>> Regards,
>>
>> Paul Adriaenssens
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
>> For additional commands, e-mail: users-h...@cocoon.apache.org
>>
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscr...@cocoon.apache.org
>For additional commands, e-mail: users-h...@cocoon.apache.org
>
>
>



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

Reply via email to