I created a element of type string 
  <xs:element name="cdata" type="xs:string"/>
  
  in xml 
  
  <cdata><![CDATA[  <html>FOO   [EMAIL PROTECTED]&*(|}{[]\"':;?/>.<<, 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  &lt;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.

Reply via email to