<?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"  encoding="ISO-8859-1" />

<xsl:template match="/">
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

  <fo:layout-master-set>
    <fo:simple-page-master master-name="titreGH"
                  page-height="29.7cm"
                  page-width="21cm"
                  margin-top="2cm"
                  margin-bottom="1cm"
                  margin-left="2.5cm"
                  margin-right="2.5cm">
      <fo:region-body margin-top="1cm"/>
      <fo:region-before extent="3cm"/>
      <fo:region-after extent="1.5cm"/>
    </fo:simple-page-master>
  </fo:layout-master-set>

  <fo:page-sequence master-reference="titreGH">
    <fo:flow flow-name="xsl-region-body">

      <fo:block-container position="absolute"
                border-color="#880000" border-style="solid" border-width=".3mm"
                top="-0.5cm" left="9cm" height="2cm" width="7.5cm" >
      </fo:block-container>

      <fo:block font-size="30pt"
                   space-after.optimum="200pt"
                   text-align="end">
Année <xsl:value-of select="//an" />
      </fo:block>

      <fo:block font-size="48pt"
            font-family="sans-serif"
            line-height="48pt"
            space-after.optimum="350pt"
            background-color="white"
            color="blue"
            text-align="center"
            padding-top="3pt">
<xsl:value-of select="//titre" />
      </fo:block>

      <fo:block-container height="3cm" width="10cm" top="22cm" left="2.5cm" position="absolute">
         <fo:block font-size="20pt" line-height="20pt" text-align="start" >
           Dossier suivi par :
         </fo:block>
      </fo:block-container>

      <fo:block-container height="3cm" width="10cm" top="22cm" left="4.5cm" position="absolute">
         <fo:block font-weight="bold" font-size="20pt" line-height="20pt" text-align="end">
<xsl:value-of select="//suiveur" />
         </fo:block>
      </fo:block-container>

      <fo:block font-size="26pt"
                font-family="sans-serif"
                line-height="26pt"
                space-after.optimum="0pt"
                text-align="center">
        Université d'Angers
      </fo:block>

    </fo:flow>
  </fo:page-sequence>

</fo:root>
</xsl:template>

</xsl:stylesheet>
