Node.textContent

Property Description

The textual content of a node and its descendants. If the value is null, then setting it has no effect. If you set this value, any child nodes are removed and replaced by a single text node with this string as a value.

Type

string

Module

N/xml Module

Since

2015.2

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/xml Module Script Samples.

          //Add additional code 
...
var nodeValue = parentNode[0].firstChild.textContent;
...
//Add additional code 

        

Related Topics

General Notices