ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > XSL FO > Borders > cbpbp-border-style9.fo


Title: cbpbp-border-style9.fo
Origin: NIST XSL test suite

Rendered image | PDF output | FO file
ElementsAttributes
fo:blockborder-bottom-color | border-bottom-style | border-bottom-width | border-left-color | border-left-style | border-left-width | border-right-color | border-right-style | border-right-width | border-top-color | border-top-style | border-top-width |
fo:flowflow-name |
fo:layout-master-set
fo:page-sequencemaster-name |
fo:region-bodymargin-top |
fo:root
fo:simple-page-mastermaster-name | page-height | page-width |

Warning! These examples are related to XSL FO Working Draft, you need to use attribute "page-sequence/@master-reference" instead of "page-sequence/@master-name".


Source

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" >
     <fo:layout-master-set>
          <fo:simple-page-master master-name="test-page-master" page-width="8.5in" page-height="11in">
               <fo:region-body margin-top="0.4in"/>
          </fo:simple-page-master>
     </fo:layout-master-set>
     <fo:page-sequence master-name="test-page-master">
          <fo:flow flow-name="xsl-region-body">
               <fo:block border-left-color="purple" border-left-style="groove" border-left-width="thick" border-bottom-color="purple" border-bottom-style="double" border-bottom-width="thick" border-top-color="purple" border-top-style="double" border-top-width="thick" border-right-color="purple" border-right-style="groove" border-right-width="thick">This element should have thick double top and bottom borders, and thick grooved side borders. The color of all four sides should be based on purple. Individual properties are being tested here.</fo:block>
          </fo:flow>
     </fo:page-sequence>
</fo:root>



Sponsored links: Domain Names, VoIP Internettelefonie, DSL, SDSL, ADSL, UNLIMITED Web Hosting by HostDepartment, conference call service, answering service