The <fo:simple-page-master> object defines the size and shape of a page. There will be one named simple-page-master for each page layout.
A page can contain up to five regions: region-body, region-before, region-after, region-start, and region-end.
The <fo:simple-page-master> will be referenced from a <fo:page-sequence-master> object or from a <fo:page-sequence> object.
| Property |
|---|
| end-indent |
| margin-bottom |
| margin-left |
| margin-right |
| margin-top |
| master-name |
| page-height |
| page-width |
| reference-orientation |
| space-after |
| space-before |
| start-indent |
| writing-mode |
XSL-FO documents have a structure like this:
A "real" XSL-FO example:
The output from the code above would be something like this:
| Hello W3Schools
|
| WEB HOSTING |
|---|
| Best Web Hosting |
| PHP MySQL Hosting |
| Best Hosting Coupons |
| UK Reseller Hosting |
| Cloud Hosting |
| Top Web Hosting |
| $7.95/mo SEO Hosting |
| Premium Website Design |
| WEB BUILDING |
|---|
| Download XML Editor |
| FREE Website BUILDER |
| Free Website Templates Free CSS Templates |
| Make Your Own Website |
| W3SCHOOLS EXAMS |
|---|
|
Get Certified in: HTML, CSS, JavaScript, XML, PHP, and ASP |
| W3SCHOOLS BOOKS |
|---|
|
New Books: HTML, CSS JavaScript, and Ajax |
| STATISTICS |
|---|
|
Browser Statistics Browser OS Browser Display |
| SHARE THIS PAGE |
|---|