Modules
Objects/Functions
SuiteScript 2.0
{Document}.createCDATASection({data: {string}})
N/xml Module
Document.createCDATASection()
Method Description:
Creates a CDATA section node of type DOCUMENT_FRAGMENT_NODE with the specified data and returns the new xml.Node object.
Returns:
xml.Node
Supported Script Types:
All script types
For more information, see SuiteScript 2.0 Script Types.
Governance:
None
Module:
N/xml Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Document.createCDATASection(options)
Example:
// Code Example 1
//Add additional code
//...
var newNode = xmlDocument.createCDATASection({
data : 'Limited Edition.'
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_46463562011.html