protected function convertAttributeValueTemplate($attrValue)
	{
		$phpExpressions = [];
		foreach (AVTHelper::parse($attrValue) as $token)
		{
			if ($token[0] === 'literal')
			{
				$phpExpressions[] = var_export($token[1], true);
			}
			else
			{
				$phpExpressions[] = $this->convertXPath($token[1]);
			}
		}

		return implode('.', $phpExpressions);
	}
protected function convertAttributeValueTemplate($attrValue)
	{
		$phpExpressions = [];
		foreach (AVTHelper::parse($attrValue) as $token)
		{
			if ($token[0] === 'literal')
			{
				$phpExpressions[] = var_export($token[1], true);
			}
			else
			{
				$phpExpressions[] = $this->convertXPath($token[1]);
			}
		}

		return implode('.', $phpExpressions);
	}
protected function convertAttributeValueTemplate ( $ attrValue ) { $ phpExpressions = [ ] ; foreach ( AVTHelper :: parse ( $ attrValue ) as $ token ) { if ( $ token [ 0 ] === 'literal' ) { $ phpExpressions [ ] = var_export ( $ token [ 1 ] , true ) ; } else { $ phpExpressions [ ] = $ this -> convertXPath ( $ token [ 1 ] ) ; } } return implode ( '.' , $ phpExpressions ) ; }
Convert an attribute value template into PHP

NOTE: escaping must be performed by the caller

@link https://www.w3.org/TR/1999/REC-xslt-19991116#dt-attribute-value-template

@param  string $attrValue Attribute value template
@return string
Convert an attribute value template into PHP