In my current project, I am developing an XSLT that retrieves a list of items from an XML file and generates an HTML table for each item.
The issue I am facing is that when I attempt to print the document, the tables at the end of the page get cut off and continue on the next page. It is important that the tables are displayed fully on one page, even though their height can vary.
I have attempted to add a div with the CSS property 'page-break-after: always;', but unfortunately, this solution does not work in my case.