cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: ESQL get-string: HTML from Database field is encoded
Date Wed, 16 May 2001 17:14:29 GMT
On Wed, 16 May 2001, Stefan Seifert wrote:

> I use Cocoon in a content management project and want to load a HTML
> fragment from database using an XSP-File with ESQL and display this HTML
> fragment in the resulting HTML page.
>
> Unfortunately the HTML is encoded with &lt; etc. and shown as HTML
> source in the result.
>
> Using get-xml instead of get-string does not work, because the HTML
> fragment is not nessecarily XML well-formed. Is there any possibility to
> put the HTML fragment with an equivalent of a CDATA-Section in the
> result of the XSP-Page?

it would be possible to hook up jtidy with esql and write in support for
an esql:get-html tag. i've never had the need (or time) myself, but it's
an open suggestion.

- donald


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message