Fix [loop]: added attributes and content to enumerated nodes