Modules

filter

 

Objects/Functions

module (N/xml)

SuiteScript 2.0

Node.nodeType

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

N/xml Module
Node.nodeType
Property Description: The type of node as an enum. For all possible values of this property, see xml.NodeType.
Type: xml.NodeType
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=Node.nodeType

Example:

// Code Example 1
//Add additional code
//...
var nodeType = parentNode[0].firstChild.nodeType;
//...
//Add additional code

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