Use your own names
But you don’t have to stick with the initial names. You can define the regions with any name, such as “my-before”, “my-end”, or even “George”, provided it’s:
- A valid name. It has to be, in XML terminology, a NCName, which means, e.g., it can’t contain a colon and has to start with a letter (or other allowed character).
- Unique within the region names for the page master
- Not the initial name for a different class of region: i.e., you can’t call your fo:region-before “xsl-region-after” and expect things to work
An additional proviso that works across page masters is that you can’t use the same name on different region types on different page masters. So “George” can’t be a fo:region-before
on one page master and fo:region-start
on another.
The flip-side of the proviso above is that you can use the same region name for the same region on different page masters.