Modules
Objects/Functions
SuiteScript 2.0
{Element}.getAttributeNS({namespaceURI: {string},localName: {string}})
N/xml Module
Element.getAttributeNS()
Method Description:
Returns an attribute value with the specified namespace URI and local name.
This method is not supported on Internet Explorer.
Returns:
string
Supported Script Types:
All script types
For more information, see SuiteScript 2.0 Script Types.
Governance:
None
Module:
N/xml Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Element.getAttributeNS(options)
Example:
// Code Example 1
//Add additional code
//...
var attr = elem[0].getAttributeNS({
namespaceURI : '*'
localName : 'lang'
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_453436523437.html