public function clearInternalCache() { parent::clearInternalCache(); $this->root = null; $this->elementStack = array(); $this->data = ''; $this->items = array(); }