logo       

Re: [xmlc] Adding xhtml code in string form: msg#00026

java.enhydra.xmlc

Subject: Re: [xmlc] Adding xhtml code in string form

Try use CDATASection.

http://mail-archive.objectweb.org/xmlc/2003-10/msg00044.html


On Sep 5, 2005, at 8:24 AM, i_am_erik@xxxxxxxxx wrote:

Hello again. I have a field in my database that allows xhtml, and I want to be able to write this to the page. This was straightforward in jsp-land. But how do I do it in xmlc-land? Obviously, calling the setTextWhatever() method is escaping all my code. So I guess I need to construct a dom structure from my string value, and appendChild() that. But how? I'm sure I could dig into the depths of DocumentLoaderImpl.java and Xerces figure it out, but I thought I'd pose the question here first. Surely this has been done by some developer on this list.

Cheers,
Erik


--
You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/ wws




--
You receive this message as a subscriber of the xmlc@xxxxxxxxxxxxx mailing list.
To unsubscribe: mailto:xmlc-unsubscribe@xxxxxxxxxxxxx
For general help: mailto:sympa@xxxxxxxxxxxxx?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise