logo       

Re: How can I insert "raw" (X|XHT|HT)ML into my DOM?: msg#00026

java.enhydra.xmlc

Subject: Re: How can I insert "raw" (X|XHT|HT)ML into my DOM?


If you used Barracuda, you could return the markup in a BText component and do..

BText = new BText("<div>some content</div>");
btext.setAllowMarkupInText(true);

Then just return the BComponent.

No messing with
<![CDATA[ ....... ]]>


Jake

At 08:39 PM 1/15/2003 -0500, you wrote:
I have an application where I have access to some Markup Language in string form. I would like to (effectively) insert that into my DOM as a single unprocessable chunk so that when I render my DOM, it get's rendered as HTML rather then as a TextNode.  The only solution I can see is to parse that HTML and insert it as DOM objects, and I really rather not have to do that.

Thanks for any tips.

David

_______________________________________________
XMLC mailing list
XMLC@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/xmlc
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise