page.orientation — Select the page orientation
<xsl:param name="page.orientation" select="'portrait'"></xsl:param>
In portrait orientation, the short edge is horizontal; in landscape orientation, it is vertical.