Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=xml.Attr for more information.
N/xml Module
xml.Attr
Object Description:
Represents an attribute node of an xml.Element object.
For a complete list of this object’s properties, see Attr 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.Attr
Example:
// Code Example 1
//Add additional code
//...
var attr = elem[0].getAttributeNode({
name : 'lang'
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4345169036.html