Modules

filter

 

Objects/Functions

module (N/xml)

SuiteScript 2.0

Attr.name

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

N/xml Module
Attr.name
Property Description: The name of an attribute. This property is a qualified name if the Node.localName property for the parent xml.Element object is null.
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=Attr.name

Example:

// Code Example 1
//Add additional code
//...
var attrName = attr.name; \\ returns 'lang'.
//...
//Add additional code

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