getAttributeNS method
The getAttributeNS()
method of the Element
interface returns the string value of the attribute with the specified
namespace and
name. If the named attribute does not exist, the value returned will
either be
null
or ""
(the empty string); see Notes for
details.
If you are working with HTML documents and you don't need to specify the
requested attribute as being part of a specific namespace, use the
Element.getAttribute
method instead.
Implementation
external String? getAttributeNS(
String? namespace,
String localName,
);