cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ugo Cei <u....@cbim.it>
Subject Re: JXTemplate and XML "fields"
Date Fri, 16 Apr 2004 16:08:12 GMT
Leszek Gawron wrote:
> Imagine I have a bean fetched from database. Call it a Message. A Message has
> a String getContent() method. Now this string contains not a plain text but an
> X(HT)ML piece. What is the most elegant, fastest and most convenient way to
> make JXTemplate treat it as a node instead of displaying the tags as text ?
> 	lg
> 

Parse the string, get the DOM and pass it to the template.

	Ugo



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


Mime
View raw message