The easiest way to set Strings containing “special
characters” that you do not want parsed is to wrap them in a CDATA section: http://www.w3.org/TR/xml11/#dt-cdsection The solution for your example would be: parentName.setName("<![CDATA[kathir&]]>"); Cheers, ~ David From: kathiresan
jeyapandian [mailto:[EMAIL PROTECTED] Hi All, I am trying to set the string
content of an element. I simply do
parentName.setName("kathir&"); The problem is that the string
contains ampersands (&). In the xml i am getting & instead of getting
& I need to get the output xml with
& as & Please help me. Thanks, Find out what |
- XML Strings with special Characters kathiresan jeyapandian
- RE: XML Strings with special Characters Lewis, David
- XML Strings with special Characters kathiresan jeyapandian