protected function uninlineDynamicAttribute(DOMAttr $attribute)
	{
		$xslAttribute = $this->createElement('xsl:attribute');

		// Build the content of the xsl:attribute element
		foreach (AVTHelper::parse($attribute->value) as list($type, $content))
		{
			if ($type === 'expression')
			{
				$childNode = $this->createElement('xsl:value-of');
				$childNode->setAttribute('select', $content);
			}
			else
			{
				$childNode = $this->createText($content);
			}

			$xslAttribute->appendChild($childNode);
		}

		return $xslAttribute;
	}
protected function uninlineDynamicAttribute(DOMAttr $attribute)
	{
		$xslAttribute = $this->createElement('xsl:attribute');

		// Build the content of the xsl:attribute element
		foreach (AVTHelper::parse($attribute->value) as list($type, $content))
		{
			if ($type === 'expression')
			{
				$childNode = $this->createElement('xsl:value-of');
				$childNode->setAttribute('select', $content);
			}
			else
			{
				$childNode = $this->createText($content);
			}

			$xslAttribute->appendChild($childNode);
		}

		return $xslAttribute;
	}
protected function uninlineDynamicAttribute ( DOMAttr $ attribute ) { $ xslAttribute = $ this -> createElement ( 'xsl:attribute' ) ; // Build the content of the xsl:attribute element foreach ( AVTHelper :: parse ( $ attribute -> value ) as list ( $ type , $ content ) ) { if ( $ type === 'expression' ) { $ childNode = $ this -> createElement ( 'xsl:value-of' ) ; $ childNode -> setAttribute ( 'select' , $ content ) ; } else { $ childNode = $ this -> createText ( $ content ) ; } $ xslAttribute -> appendChild ( $ childNode ) ; } return $ xslAttribute ; }
Uninline an AVT-style attribute

@param  DOMAttr    $attribute Attribute node
@return DOMElement            xsl:attribute element
Uninline an AVT - style attribute