protected function parseAttributeForeach(\DomElement $node, \DomAttr $attr)
{
$dom = $this->getDomDocument();
$expressionStart = sprintf('<?php foreach(%s): ?>', $this->normalizePHPExpression($attr->value));
$expressionEnd = '<?php endforeach ?>';
$node->insertBefore($dom->createCDATASection($expressionStart), $node->firstChild);
$node->appendChild($dom->createCDATASection($expressionEnd));
}