Programmer's Guide > Interfaces > W3C Node interface > lookupPrefix method
  
lookupPrefix method
Look up the prefix associated to the given namespace URI, starting from this node.
lookupPrefix(namespaceURI )
Parameters
StringnamespaceURI
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.