hi,
I am inserting using
JAVA APIs.
for example,
String str = "Jhon & Paul";
The the String varaible to be inserted into XML file in an element , say,
<names> </names>
I am inserting using XML perser using JAVA APIs.
so, It is inserted as
<names> Jhon & amp; amp; Paul</name>
Note: ignore the space between
& and
amp;
If i use CDATA , then teh actual text is coming but CDATA. is also there.
Thanks.