Adding Document Templates to a Loop from Inside a Loop