<?xml version="1.0"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"
    font-family="sans-serif"
    font-size="16pt"
    font-weight="bold"
    xml:lang="en"
    language="en"
>
  <fo:layout-master-set>
    <fo:simple-page-master master-name="body-page"
        margin-top="0.5in"
        margin-left="0.5in"
        margin-right="0.5in"
        margin-bottom="0.5in"
        page-height="11in"
        page-width="8.5in">
      <fo:region-body
          margin-top="0.75in"
          margin-bottom="0.75in"
          border-width="1pt"
          border-style="solid"
          border-color="teal"
          column-count="2"
          column-gap="12pt"
      />
      <fo:region-before 
          extent="0.5in"/>
      <fo:region-after 
          border-width="1pt"
          border-style="solid"
          border-color="green"
          extent="0.5in"/>
    </fo:simple-page-master>
  </fo:layout-master-set>
  <fo:page-sequence master-reference="body-page">
    <fo:static-content flow-name="xsl-region-after">
      <fo:block>
        <fo:page-number/>
      </fo:block>
    </fo:static-content>
    <fo:static-content flow-name="xsl-footnote-separator">
      <fo:block
          font-size="6pt"
          border-before-width="1pt"
          border-before-style="solid"
      >
        <fo:leader/>
      </fo:block>
    </fo:static-content>
    <fo:flow flow-name="xsl-region-body"
    >
      <fo:block>Test of hyphenation.</fo:block>
      <fo:block
          space-before="12pt"
      >Hyphenation is off by default. 
      This-is-a-long-phrase-with-dashes-in-it. 
      Behavior when hyphenation is off is not defined by FO spec.</fo:block>
      <fo:block
          hyphenate="true"
          space-before="12pt"
      >Hyphenation is on in this block. This-is-a-long-phrase-with-dashes-in-it. 
      Behavior when hyphenation is off is not defined by FO spec.</fo:block>
      <fo:block
          space-before="12pt"
          font-size="1.5em"
      >Hyphenation is off in this block. 1.5x font size. 
      This-is-a-long-phrase-with-dashes-in-it. 
      Behavior when hyphenation is off is not defined by FO spec.</fo:block>
      <fo:block
          hyphenate="true"
          space-before="12pt"
          font-size="1.5em"
      >Hyphenation is on in this block. 1.5x font size. 
      This-is-a-long-phrase-with-dashes-in-it. 
      Behavior when hyphenation is off is not defined by FO spec.</fo:block>
      <fo:block
          space-before="12pt"
          text-align="justify"
      >Hyphenation is off, text-align="justify". 
      This-is-a-long-phrase-with-dashes-in-it. 
      Behavior when hyphenation is off is not defined by FO spec.</fo:block>
      <fo:block
          hyphenate="true"
          space-before="12pt"
          text-align="justify"
      >Hyphenation is on, text-align="justify". This-is-a-long-phrase-with-dashes-in-it. 
      Behavior when hyphenation is off is not defined by FO spec.</fo:block>
      <fo:block span="all"
          keep-together.within-page="always"
          space-before="12pt"
      >
        <fo:block
          text-align="justify"
          keep-with-next="always"
          >Hyphentation is off, text-align="justify". This is much longer content within a full width block. Some of these words are
          long: antidisestablismentarianism, internationalization, localization, 
          anarchosyndicalist.
        </fo:block>
        <fo:block
            hyphenate="true"
            space-before="12pt"
            text-align="justify"
          >Hyphentation is on. text-align="justify". This is much longer content within a full width block. Some of these words are
          long: antidisestablismentarianism, internationalization, localization, 
          anarchosyndicalist.
        </fo:block>
      </fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

