Modules

filter

 

Objects/Functions

module (N/xml)

SuiteScript 2.0

Node.lookupNamespaceURI(options)

{Node}.lookupNamespaceURI({prefix: {string}})

N/xml Module
Node.lookupNamespaceURI()
Method Description: Returns the namespace uniform resource identifier (URI) that matches the specified namespace prefix. Returns null if the specified prefix does not have an associated URI. 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=Node.lookupNamespaceURI(options)

Example:

// Code Example 1
//Add additional code
//...
var uri = parentNode[0].lookupNamespaceURI({
prefix : '*'
});
//...
//Add additional code

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