PhpOffice\PhpPresentation\Tests\XmlDocument::getElement PHP 메소드

getElement() 공개 메소드

Get element
public getElement ( string $path, string $file = 'word/document.xml' ) : DOMElement
$path string
$file string
리턴 DOMElement
    public function getElement($path, $file = 'word/document.xml')
    {
        $elements = $this->getNodeList($path, $file);
        return $elements->item(0);
    }