Document.CreateCDATASection Method |
Creates a CDATASection object containing the specified data.
[VBScript] Public Function CreateCDATASection( _ ByVal data As String _ ) As CDATASection
[JScript] public function CreateCDATASection( data : String ) : CDATASection;
The new CDATASection.
Although this method creates the new object in the context of the document, it does not automatically add the new object to the document tree. To add the new object, you must explicitly call one of the node insert methods.