get_attribute_ns method

get_attribute_ns(namespace_uri, local_name)

Gets an attribute value by local name and namespace URI.

Returns

The attribute value.

def get_attribute_ns(self, namespace_uri, local_name):
    ...
Parameter Type Description
namespace_uri str The attribute namespace URI.
local_name str The attribute local name.

See Also