Language Reference Guide : System Classes : XMLDocument Class : WriteCDATA Method
 
Share this page          
WriteCDATA Method
WriteCDATA is a low-level method that writes a CDATA section for the current XML element to the file previously opened by WriteStartDocument().
This method has the following syntax:
integer = XMLDocument.WriteCDATA(string = StringObject)
This method has the following parameter:
string
(Required) Specifies the CDATA string
If the method is successful, it returns ER_OK; otherwise, it returns ER_FAIL. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.