lookupPrefix method
The lookupPrefix()
method of the Node
interface
returns a string containing the prefix for a given namespace URI, if
present,
and null
if not.
When multiple prefixes are possible, the first prefix is returned.
Implementation
external String? lookupPrefix(String? namespace);