[jdom-interest] Question

rpcee rpcee at operamail.com
Tue Oct 23 11:28:02 PDT 2001


Did you mean the source to be:

<property>
   <![CDATA[
      <test><hello>Hello</hello></test>
   ]]>
</property>

and propertyElement.getTextTrim();

>===== Original Message From "Yadav, Hemesh" <hemesh.yadav at bankofamerica.com> 
=====
>I have a small problem getting the element value ::;
>
>example ::
>
><property>
>           value #CDATA
></property>
>
>
>When I do the getText() , I get the value back but when I try to put the
>XML doc as a CDATA , I can't read it ... Any better way to do that ..
>
><property>
>     <test><hello>Hello</hello></test>
></property>
>
>when I do the getText () , I should get back
>"<test><hello>Hello</hello></test>" ...
>
>
>Any suggestion .




More information about the jdom-interest mailing list