You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by dave <ce...@yahoo.com> on 2008/03/17 22:21:57 UTC

XmlCursor.insertElementWithText().. why should it insert CDATA??

 If I try to use this API under an Element of type
xs:ANY, it inserts the Text as CDATA. Is there any API
that can insert the element Text without CDATA
container in this situation? 

 I just want normal Text insertion like: 
  <arb> text </arb>

-D


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org


Re: XmlCursor.insertElementWithText().. why should it insert CDATA??

Posted by Radu Preotiuc-Pietro <ra...@bea.com>.
In this case, "normal text insertion" means CDATA. See my previous post
titled 


Re: XMLBEANS 2.3.0 and CDATA issue

Radu

On Mon, 2008-03-17 at 14:21 -0700, dave wrote:
>  If I try to use this API under an Element of type
> xs:ANY, it inserts the Text as CDATA. Is there any API
> that can insert the element Text without CDATA
> container in this situation? 
> 
>  I just want normal Text insertion like: 
>   <arb> text </arb>
> 
> -D
> 
> 
>       ____________________________________________________________________________________
> Never miss a thing.  Make Yahoo your home page. 
> http://www.yahoo.com/r/hs
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
> For additional commands, e-mail: user-help@xmlbeans.apache.org
> 

Notice:  This email message, together with any attachments, may contain information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated entities,  that may be confidential,  proprietary,  copyrighted  and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org