Modules

filter

 

Objects/Functions

module (N/xml)

SuiteScript 2.0

Node.firstChild

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

N/xml Module
Node.firstChild
Property Description: The first child node of a node, or null if there are no child nodes.
Type: xml.Node
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.firstChild

Example:

// Code Example 1
//Add additional code
//...
var nodeValue1 = bookNode[0].firstChild.nextSibling.textContent;
//...
//Add additional code

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