add_namespace Method
Adds a namespace to the Namespaces properties.
Syntax
def add_namespace(prefix: str, namespace_uri: str) -> None: ...
Remarks
This method is used to add a namespace to the namespaces properties. Prefix specifies the namespace prefix, and NamespaceURI specifies the namespace.