'Remove all nodes.'

def del_nodes(self):

    self._nodes = set()
    nodes = [i for i in self.iterables if isinstance(i, FieldsNode)]
    for node in nodes:
        self.xml.remove(node.xml)
        self.iterables.remove(node)
