So I have earlier been working on a ASP.net application/website allowing users to fill in a form containing some details about them and send it to the appropriate company. My most recent task have been to, from this form, create a XML document (which I've got), and try to make a printable PDF from it. I've chosen to use XSL and XSL:FO to transform the document as I see fit, but have stumbled upon a rather annoying issue.
Whenever I, using Altova XMLSpy create a PDF via XSL:FO, it doesn't seem to recognize that it hits the bottom of the PDF page and thus doesn't create more than one page in the PDF, making a lot of content hidden. Due to the length of XSL files I've put it on gist.github here , and if anyone have any advice on how I could allow it to create new pages whenever it gets to the bottom that'd be appreciated!