public function getElement($path, $file = 'word/document.xml') { $elements = $this->getNodeList($path, $file); return $elements->item(0); }