<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_tag_ns(self, el):
 """Get tag namespace."""


        if self.supports_namespaces():
            namespace = ''
            ns = el.namespace
            if ns:
                namespace = ns
        else:
            namespace = NS_XHTML
        return namespace