Modules

filter

 

Objects/Functions

module (N/xml)

SuiteScript 2.0

Document.documentElement

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Document.documentElement for more information.

N/xml Module
Document.documentElement
Property Description: Root node of the XML document. Use this property to directly access the xml.Element object that represents the root node of an XML document.
Type: xml.Element (read-only)
Supported Script Types: All script types For more information, see SuiteScript 2.0 Script Types.
Module: N/xml Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=Document.documentElement

Example:

// Code Example 1
//Add additional code
//...
var root = xmlDocument.documentElement;
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_452410827636.html