'Get the element\'s namespace.
@return: The element\'s namespace by resolving the prefix, the explicit
namespace or the inherited namespace.
@rtype: (I{prefix}, I{name})'

def namespace(self):

    if (self.prefix is None):
        return self.defaultNamespace()
    else:
        return self.resolvePrefix(self.prefix)
