'Remove the condition element.'

def del_condition(self):

    for child in self.parent().xml:
        if (('{%s}' % self.condition_ns) in child.tag):
            tag = child.tag.split('}', 1)[(-1)]
            if (tag in self.conditions):
                self.parent().xml.remove(child)
    return self
