I really don't know about fop compliance, but some time ago I used fop extensions to rotate the container:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fox="http://xmlgraphics.apache.org/fop/extensions" version="2.0"> <fo:block-container position="absolute" fox:transform="rotate(90)"> ... </fo:block-container> </xsl:stylesheet>
Find more information on fop extensions in the link below.
https://xmlgraphics.apache.org/fop/trunk/extensions.html
source share