<?xml version="1.0"?>
<stylesheet
  xmlns="http://www.w3.org/XSL/Transform/1.0"
  xmlns:fo="http://www.w3.org/XSL/Format/1.0"
  result-ns="fo">

  <template match="/">
    <fo:root xmlns:fo="http://www.w3.org/XSL/Format/1.0">

      <fo:layout-master-set>
        <fo:simple-page-master page-master-name="only">
          <fo:region-body/>
        </fo:simple-page-master>
      </fo:layout-master-set>

      <fo:page-sequence>

       <fo:sequence-specification>
        <fo:sequence-specifier-single page-master-name="only"/>
       </fo:sequence-specification>
        
        <fo:flow>
          <apply-templates select="//ATOM"/>
        </fo:flow>
        
      </fo:page-sequence>

    </fo:root>
  </template>

  <template match="ATOM">
    <fo:block font-size="20pt" font-family="serif">
      <value-of select="NAME"/>
    </fo:block>
  </template>

</stylesheet>
