protected function takeChildFromDOM($child) { $absoluteNodeName = $child->namespaceURI . ':' . $child->localName; switch ($absoluteNodeName) { case $this->lookupNamespace('gs') . ':' . 'cell': $cell = new Extension\Cell(); $cell->transferFromDOM($child); $this->_cell = $cell; break; default: parent::takeChildFromDOM($child); break; } }