Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=xml.Element for more information.
N/xml Module
xml.Element
Object Description:
Represents an element in an XML document. Elements may contain attributes, other elements, or text. If an element contains text, the text is represented in a text node of type TEXT_NODE.
For example, the following element year contains a text node with the value of 2015:
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=xml.Element
Example:
// Code Example 1
//Add additional code
//...
var elem = parentNode[0].getElementsByTagName({tagName : 'title'});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4345167426.html