https://xmlpublishertemplate.blogspot.com/2018/02/how-to-use-page-break-in-xml-publisher.html
How to use Page Break in XML publisher (RTF) report based on a RDF
Try using <?split-by-page-break:?> in the field directly before the final "End For Each." That worked for me. Hopefully for you too. I am having issues though that it for some reason just stops mid way through and stops inserting the page break.
Just to add a little more. I found a work around for the issue I was having where it would decided it would page break half the document but not the entire thing. Instead of the page break place your cursor directly before the group closing. Then Press CTRL+ENTER. This should work. You will end up with a blank page at the end of the document but that can be lived with.