protected function checkDynamicAttributes(DOMElement $embed)
	{
		$settingName = strtolower($this->settingName);
		foreach ($embed->getElementsByTagNameNS(self::XMLNS_XSL, 'attribute') as $attribute)
		{
			$attrName = strtolower($attribute->getAttribute('name'));
			if ($attrName === $settingName)
			{
				throw new UnsafeTemplateException('Cannot assess the safety of dynamic attributes', $attribute);
			}
		}
	}
protected function checkDynamicAttributes(DOMElement $embed)
	{
		$settingName = strtolower($this->settingName);
		foreach ($embed->getElementsByTagNameNS(self::XMLNS_XSL, 'attribute') as $attribute)
		{
			$attrName = strtolower($attribute->getAttribute('name'));
			if ($attrName === $settingName)
			{
				throw new UnsafeTemplateException('Cannot assess the safety of dynamic attributes', $attribute);
			}
		}
	}
protected function checkDynamicAttributes ( DOMElement $ embed ) { $ settingName = strtolower ( $ this -> settingName ) ; foreach ( $ embed -> getElementsByTagNameNS ( self :: XMLNS_XSL , 'attribute' ) as $ attribute ) { $ attrName = strtolower ( $ attribute -> getAttribute ( 'name' ) ) ; if ( $ attrName === $ settingName ) { throw new UnsafeTemplateException ( 'Cannot assess the safety of dynamic attributes' , $ attribute ) ; } } }
Test whether given element has dynamic attributes that match the setting's name

@param  DOMElement $embed Context element
@return void
Test whether given element has dynamic attributes that match the setting s name