Modules

filter

 

Objects/Functions

module (N/xml)

SuiteScript 2.0

xml.Element

// 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: 2015 For a list of this object’s methods and properties, see Element Object Members An XML element object is also a node of type ELEMENT_NODE. In addition to the Element object members, Element objects inherit the members of the Node object. For a complete list of these methods and properties, see Node Object Members.
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