You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by temp temp <mi...@yahoo.com> on 2007/04/27 13:37:47 UTC
cdata as string
I created a element of type string
<xs:element name="cdata" type="xs:string"/>
in xml
<cdata><![CDATA[ <html>FOO !@#$%^&*(|}{[]\"':;?/>.<<, FOO FOO BAR BAR BAR </html> ]]> </cdata>
in xml beans I call getCdata().It returns cdata section as it is .but the same element if I remove type xs:string call to getCdata returns xmlobject and when I print xml text its converting <html> to <html> so my question is it safe to create element of type string and put cdata section in that ?
Thanks & Regards
Miro
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
Check outnew cars at Yahoo! Autos.