lookupPrefix method
Look up the prefix associated to the given namespace URI, starting from this node.
lookupPrefix(namespaceURI )
Parameters
String namespaceURI
The namespace URI to look for.
Returns
String. Returns an associated namespace prefix if found or null if none is found. If more than one prefix are associated to the namespace URI, the returned namespace prefix is implementation dependent.
这对您有帮助吗?