Modules

filter

 

Objects/Functions

module (N/xml)

SuiteScript 2.0

Node.attributes

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

N/xml Module
Node.attributes
Property Description: Key-value pairs for all attributes for an xml.Element node. Returns null for all other node types.
Type: string (read-only)
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.attributes

Example:

// Code Example 1
//Add additional code
//...
var attribs = elem[0].attributes;
//...
//Add additional code

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