lookup_prefix method

lookup_prefix

Look up the prefix associated to the given namespace URI, starting from this node. The default namespace declarations are ignored by this method. See Namespace Prefix Lookup for details on the algorithm used by this method.

Returns

Returns prefix

def lookup_prefix(self, namespace_uri):
    ...
ParameterTypeDescription
namespace_uristrThe namespace URI.

See Also