lookupNamespacePrefix(namespaceURI, useDefault )
|
|
Parameters
|
StringnamespaceURI
The namespace URI to look for.
booleanuseDefault
Indicates if the lookup mechanism should take into account the default namespace or not.
|
Returns
|
String. Returns an associated namespace prefix if found, null if none is found and useDefault is false, or null if not found or it is the default namespace and useDefault is true. If more than one prefix are associated to the namespace prefix, the returned namespace prefix is implementation dependent.
|