GroupLogic: parse generated template properly to allow xinclude