<?xml version="1.0"?>
<xsl:stylesheet
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:fo="http://www.w3.org/1999/XSL/Format"
  result-ns="fo">

  <xsl:template match="/">
    <fo:root>

      <fo:layout-master-set>
        <fo:simple-page-master page-master-name="first" 
           height="29.7cm" width="21cm" margin-top="1cm" 
           margin-bottom="2cm" margin-left="2.5cm" margin-right="2.5cm">
          <fo:region-before extent="3cm"/>
          <fo:region-body margin-top="3cm"/>
          <fo:region-after extent="1.5cm"/>
        </fo:simple-page-master>
      </fo:layout-master-set>

      <fo:page-sequence>
        <fo:sequence-specification>
          <fo:sequence-specifier-single page-master-name="first"/>
        </fo:sequence-specification>
        <fo:flow flow-name="xsl-body">
          <xsl:apply-templates/>
        </fo:flow>
      </fo:page-sequence>
    </fo:root>
  </xsl:template>

  <xsl:template match="ATOM">
    <fo:block font-size="10pt" font-family="serif"
     space-before="12pt">
      <xsl:value-of select="NAME"/>
    </fo:block>
  </xsl:template>

</xsl:stylesheet>