Re: [xmlc] Adding xhtml code in string form

David Li <[email protected]> Mon, 5 Sep 2005 08:47:06 +0800
Newsgroups gmane.comp.java.enhydra.xmlc
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1125881282-18914-88
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Content-Transfer-Encoding: 7bit

Try use CDATASection.

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


On Sep 5, 2005, at 8:24 AM, [email protected] 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 [email protected]  
> mailing list.
> To unsubscribe: mailto:[email protected]
> For general help: mailto:[email protected]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/ 
> wws
>



------------=_1125881282-18914-88
Content-Type: text/plain; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: 8bit


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

------------=_1125881282-18914-88--