<html> <head> <title>TEST</title> </head> <body> <ul> <li tal:repeat="entity self/entities" tal:content="entity/content">CONTENT</li> </ul> <p tal:content="self/result">RESULT</p> </body> </html>