Remove redundant _string2cdata() method, use xml_encode() instead.