get_namespace_uri method

get_namespace_uri

Gets the namespace URI associated with the specified prefix.

Returns

The associated namespace URI if the prefix is registered; otherwise, null.

def get_namespace_uri(self, prefix):
    ...
Parameter Type Description
prefix str The prefix of the namespace to get.

See Also