Obj Conditional Page Master Reference
# XSL-FO conditional-page-master-reference Object
[ XSL-FO Reference Manual](#)
* * *
## Definition and Usage
The `` object specifies a page-master to be used when the defined conditions are met.
This allows different pages to use different page-masters. (For example, even and odd pages, the first page, blank pages.)
Three attributes, `odd-or-even`, `blank-or-not-blank`, and `page-position`, specify the conditions. The `` is considered true only when all three conditions are met.
* `page-position` is true if the generated page has the specified position (first, last, rest, any).
* `odd-or-even` is true if the value is "any" or if the parity of the value matches the page number.
* `blank-or-not-blank` is true if the value is "not-blank" and the page has areas generated by descendants of ``, or if the value is "blank" and the page has no areas from ``, or if the value is "any".
* * *
## Syntax
## Attributes
| Attribute |
| :--- |
| blank-or-not-blank |
| master-reference |
| odd-or-even |
| page-postion |
* * XSL-FO Reference Manual](#)
YouTip