I have a string (representing some Javascript code) with double quotes and newline characters like say: \[code\]<script src="http://stackoverflow.com/questions/12510491/mytest.js"></script><script> (function() { var u = 'http://myserver.com/myapp.js'; document.write('script src="' + u + '"></scr'+'ipt'>); })();</script>\[/code\]This string is stored in a MySQL database and I am using libzdb to read it into a C++ string in memory.Now, I read this whole script string into a C++ std::string variable. As a result, the double quotes are escaped and the newlines are represented with \r\n characters. So the in-memory string looks like:\[code\]<script src=http://stackoverflow.com/"mytest.js\"></script>\r\n<script>(function() {\r\n var u = 'http://myserver.com/myapp.js';\r\n document.write('script scr=\"' + u + '\"></scr'+'ipt'>);\r\n})();\r\n</script>\[/code\]Next, I put this in-memory string into a CDATA section using XERCES C++ library. And when the XML data is further serialized into a string, the encoded string (with escaped quotes and newline characters) appears in the XML data.How can I ensure that the CDATA section in XML does not have escaped quotes and newline characters? Thanks a lot!