Distinguish between odd and even page in xsl
问题 I have some table in my document and I want different margins for odd and even pages, so how can I distinguish a page is odd/even using when condition in xsl fo. 回答1: You want: Separate fo:simple-page-master for the odd and even pages An fo:layout-master-set that selects the correct page master for odd and even pages. E.g.: <fo:page-sequence-master master-name="PageMaster"> <fo:repeatable-page-master-alternatives> <fo:conditional-page-master-reference master-reference="OddPage" odd-or-even=