PhpOffice\PhpPresentation\Tests\XmlDocument::getElementAttribute PHP Method

getElementAttribute() public method

Get element attribute
public getElementAttribute ( string $path, string $attribute, string $file = 'word/document.xml' ) : string
$path string
$attribute string
$file string
return string
    public function getElementAttribute($path, $attribute, $file = 'word/document.xml')
    {
        return $this->getElement($path, $file)->getAttribute($attribute);
    }