'Clear the specified prefix from the prefix mappings.
@param prefix: A prefix to clear.
@type prefix: basestring
@return: self
@rtype: L{Element}'

def clearPrefix(self, prefix):

    if (prefix in self.nsprefixes):
        del self.nsprefixes[prefix]
    return self
