hi,
there is an unobtrusive though rather unelegant way to assure that a
string value will be considered by the heuristics of the xmlbeans
parser as CDATA (the trick only makes sense only for html),

include a comment before writing out your xml element as follows:

xmlObject.setMyValue("<!-- &&&&&&&&&&&&&&&&&&&&&&&&&&&&& let &&
xmlbeans && make && this && a && cdata &&&&&&&&&&&&&&&&&&&&&&&&&&&
--><div>Here goes unescaped HTML.</div>");

which in ypir xml file saves to something like:

<myValue>
<![CDATA[ <!-- &&&&&&&&&&&&&&&&&&&&&&&&&&&&& let && xmlbeans && make &&
this && a && cdata &&&&&&&&&&&&&&&&&&&&&&&&&&& -->
<div>Here goes unescaped HTML.</div> ]]>
</myValue>

i am wondering if this could have any side effects...
greetings, daniel



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to