<!--
//**************************************************************************
//*
//* CLASS .............. : Feuille de style de transformation d'un fichier 
//*                        FCT_ASSAIN V3  au format PDF
//*
//* CREATION DATE ...... : Fevrier 2014
//*
//*
//**************************************************************************
--><xsl:stylesheet xmlns:a="http://xml.sandre.eaufrance.fr/scenario/fct_assain/3" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ref="http://xml.sandre.eaufrance.fr/scenario/referentiel/2" version="2.0" xpath-default-namespace="http://xml.sandre.eaufrance.fr/scenario/fct_assain/3"><xsl:output method="xml" version="1.0" encoding="UTF-16"/><xsl:param name="refFile"/><xsl:variable name="mergeResults"><xsl:apply-templates mode="copy" select="/"/></xsl:variable><xsl:template match="/"><xsl:apply-templates mode="transform" select="$mergeResults"/></xsl:template><xsl:template match="/FctAssain" mode="copy"><xsl:message>XSL REF FILE = <xsl:value-of select="$refFile"/></xsl:message><xsl:copy><xsl:apply-templates select="document($refFile)" mode="copy"/><xsl:apply-templates mode="copy"/></xsl:copy></xsl:template><xsl:template match="*|@*|comment()|processing-instruction()|text()" mode="copy"><xsl:copy><xsl:apply-templates select="*|@*|comment()|processing-instruction()|text()" mode="copy"/></xsl:copy></xsl:template><xsl:attribute-set name="Titre"><xsl:attribute name="border">1px solid black</xsl:attribute><xsl:attribute name="background-color">#c0c0c0</xsl:attribute><xsl:attribute name="font-weight">bold</xsl:attribute><xsl:attribute name="font-family">Helvetica</xsl:attribute><xsl:attribute name="font-size">14pt</xsl:attribute><xsl:attribute name="padding">.75em 0</xsl:attribute><xsl:attribute name="space-before">12pt</xsl:attribute><xsl:attribute name="space-after">12pt</xsl:attribute><xsl:attribute name="text-align">center</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Titre14"><xsl:attribute name="border">none</xsl:attribute><xsl:attribute name="background-color">#c0c0c0</xsl:attribute><xsl:attribute name="font-family">Helvetica</xsl:attribute><xsl:attribute name="font-weight">bold</xsl:attribute><xsl:attribute name="font-size">14pt</xsl:attribute><xsl:attribute name="padding">6pt 0</xsl:attribute><xsl:attribute name="text-decoration">underline</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Titre12"><xsl:attribute name="border">none</xsl:attribute><xsl:attribute name="font-family">Helvetica</xsl:attribute><xsl:attribute name="font-weight">bold</xsl:attribute><xsl:attribute name="font-size">12pt</xsl:attribute><xsl:attribute name="margin">3pt 0</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Label"><xsl:attribute name="font-family">Helvetica</xsl:attribute><xsl:attribute name="font-weight">bold</xsl:attribute><xsl:attribute name="vertical-align">text-top</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Label14" use-attribute-sets="Label"><xsl:attribute name="font-size">14pt</xsl:attribute><xsl:attribute name="padding">6pt 2pt</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Label12" use-attribute-sets="Label"><xsl:attribute name="font-size">12pt</xsl:attribute><xsl:attribute name="padding">3pt 2pt</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Label10" use-attribute-sets="Label"><xsl:attribute name="font-size">10pt</xsl:attribute><xsl:attribute name="padding">1.5pt 2pt</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Value"><xsl:attribute name="font-family">Helvetica</xsl:attribute><xsl:attribute name="vertical-align">text-top</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Value14" use-attribute-sets="Value"><xsl:attribute name="font-size">14pt</xsl:attribute><xsl:attribute name="padding">6pt 2pt</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Value12" use-attribute-sets="Value"><xsl:attribute name="font-size">12pt</xsl:attribute><xsl:attribute name="padding">3pt 2pt</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Value10" use-attribute-sets="Value"><xsl:attribute name="font-size">10pt</xsl:attribute><xsl:attribute name="padding">1.5pt 2pt</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Value8" use-attribute-sets="Value"><xsl:attribute name="font-size">8pt</xsl:attribute><xsl:attribute name="padding">1.5pt 2pt</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="Value6" use-attribute-sets="Value"><xsl:attribute name="font-size">6pt</xsl:attribute><xsl:attribute name="padding">1.5pt 2pt</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="bord"><xsl:attribute name="table-layout">fixed</xsl:attribute><xsl:attribute name="font-family">Helvetica</xsl:attribute><xsl:attribute name="border">1px solid black</xsl:attribute><xsl:attribute name="border-collapse">collapse</xsl:attribute><xsl:attribute name="space-before">12pt</xsl:attribute><xsl:attribute name="space-after">12pt</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="nobord"><xsl:attribute name="table-layout">fixed</xsl:attribute><xsl:attribute name="font-family">Helvetica</xsl:attribute><xsl:attribute name="border">0px solid black</xsl:attribute><xsl:attribute name="border-collapse">collapse</xsl:attribute><xsl:attribute name="space-before">0pt</xsl:attribute><xsl:attribute name="space-after">0pt</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="allBord"><xsl:attribute name="table-layout">fixed</xsl:attribute><xsl:attribute name="font-family">Helvetica</xsl:attribute><xsl:attribute name="border">1px solid black</xsl:attribute><xsl:attribute name="border-collapse">collapse</xsl:attribute><xsl:attribute name="space-before">12pt</xsl:attribute><xsl:attribute name="space-after">12pt</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="cell"><xsl:attribute name="language">fr</xsl:attribute><xsl:attribute name="hyphenate">true</xsl:attribute><xsl:attribute name="border">1px solid black</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="cellH" use-attribute-sets="cell"><xsl:attribute name="text-align">center</xsl:attribute><xsl:attribute name="background-color">#c0c0c0</xsl:attribute><xsl:attribute name="font-weight">bold</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="cellH2" use-attribute-sets="cell"><xsl:attribute name="font-size">9pt</xsl:attribute><xsl:attribute name="text-align">center</xsl:attribute><xsl:attribute name="background-color">#c0c0c0</xsl:attribute><xsl:attribute name="font-weight">bold</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="cellH3" use-attribute-sets="cell"><xsl:attribute name="font-size">7pt</xsl:attribute><xsl:attribute name="text-align">center</xsl:attribute><xsl:attribute name="background-color">#c0c0c0</xsl:attribute><xsl:attribute name="font-weight">bold</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="verticaltext"><xsl:attribute name="writing-mode">tb-rl</xsl:attribute><xsl:attribute name="filter">flipv fliph</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="verticaltextH" use-attribute-sets="cell"><xsl:attribute name="writing-mode">tb-rl</xsl:attribute><xsl:attribute name="filter">flipv fliph</xsl:attribute></xsl:attribute-set><xsl:attribute-set name="verticaltext2"><xsl:attribute name="block-progression">lr</xsl:attribute><xsl:attribute name="writing-mode">tb-rl</xsl:attribute></xsl:attribute-set>

    <!-- ================== -->
    <!-- = FORMATAGE DATE = -->
    <!-- ================== --><xsl:template name="formatDate"><xsl:param name="date"/><xsl:if test="$date"><xsl:value-of select="substring($date, 9, 2)"/>/<xsl:value-of select="substring($date, 6, 2)"/>/<xsl:value-of select="substring($date, 1, 4)"/></xsl:if></xsl:template>

    <!-- ================================================= -->
    <!-- = LIBELLE DE L'ORIGINE DU CODE D'UN INTERVENANT = -->
    <!-- ================================================= --><xsl:template name="origineCode"><xsl:param name="code"/><xsl:variable name="lib"><xsl:choose><xsl:when test="$code='SIRET'">Siret</xsl:when><xsl:when test="$code='SANDRE'">Sandr</xsl:when></xsl:choose></xsl:variable><xsl:value-of select="$lib"/></xsl:template>

    <!-- ====================== -->
    <!-- = DEFINITION PUCE 1  = -->
    <!-- ====================== --><xsl:variable name="puce1"><fo:inline font-weight="normal" font-family="ZapfDingbats">?</fo:inline></xsl:variable>

    <!-- ====================== -->
    <!-- = DEFINITION PUCE 2  = -->
    <!-- ====================== --><xsl:variable name="puce2"><fo:inline font-weight="normal" font-size="1.5em" font-family="ZapfDingbats">?</fo:inline></xsl:variable>
    <!-- ======================== -->
    <!-- = DEFINITION DES CLES  = -->
    <!-- ======================== -->

    <!-- = CLE sur Intervenant par CdIntervenant  = --><xsl:key name="keyIntervenant" match="COM_LABO/Intervenant" use="CdIntervenant"/>

    <!-- = CLE sur GroupeParametres par CdGroupeParametres  = --><xsl:key name="keyGroupeParametres" match="COM_LABO/GroupeParametres" use="CdGroupeParametres"/>

    <!-- = CLE sur StationPrelevement par CdStationPrelevement  = --><xsl:key name="keyStationPrelevement" match="COM_LABO/StationPrelevement" use="CdStationPrelevement"/>

    <!-- = CLE Parametre par code parametre = -->
    <!--<xsl:key name="keyParametre" match="ref:REFERENTIEL/ref:Parametre" use="ref:CdParametre"/>--><xsl:key name="keyParametre" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel='PAR']/ref:Parametre" use="ref:CdParametre"/>

    <!-- = CLE Methode par code methode  = --><xsl:key name="keyMethode" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel='MET']/ref:Methode" use="ref:CdMethode"/>

    <!-- = CLE Unite de reference par code = --><xsl:key name="keyUniteReference" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel='URF']/ref:UniteReference" use="ref:CdUniteReference"/>

    <!-- = CLE Support par code = --><xsl:key name="keySupport" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel='SUP']/ref:Support" use="ref:CdSupport"/>

    <!-- = CLE FractionAnalysee par code = --><xsl:key name="keyFraction" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel='FAN']/ref:FractionAnalysee" use="ref:CdFractionAnalysee"/>

    <!-- = CLE Element de la nomenclature 22 (Projection des coordonnées) par code = --><xsl:key name="keyNomenclature22" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=22]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 76 (Système altimétrique de référence)  par code = --><xsl:key name="keyNomenclature76" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=76]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 156 (Type d'analyse) par code = --><xsl:key name="keyNomenclature156" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=156]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 215 (Norme Eau en AEP) par code = --><xsl:key name="keyNomenclature215" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=215]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 216 (Motif de prélèvement AEP) par code = --><xsl:key name="keyNomenclature216" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=216]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 295 (Type de demande) par code = --><xsl:key name="keyNomenclature295" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=295]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 296 (conformite du prélèvement) par code = --><xsl:key name="keyNomenclature296" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=296]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 297 (origine du code d'une station de prelevement) par code = --><xsl:key name="keyNomenclature297" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=297]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 299 (Accreditation de l'analyse) par code = --><xsl:key name="keyNomenclature299" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=299]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 300 (confirmation résultat analyse) par code = --><xsl:key name="keyNomenclature300" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=300]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 325 (Nature du produit) par code = --><xsl:key name="keyNomenclature325" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=325]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 329 (Usage du produit) par code = --><xsl:key name="keyNomenclature329" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=329]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 333 (Accréditation d'un prélèvement) par code = --><xsl:key name="keyNomenclature333" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=333]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 334 (Prélèvement sous réserve) par code = --><xsl:key name="keyNomenclature334" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=334]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 335 (Analyse sous reserve) par code = --><xsl:key name="keyNomenclature335" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=335]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 336 (contexte codification) par code = --><xsl:key name="keyNomenclature336" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=336]/ref:Element" use="ref:CdElement"/>

    <!-- = CLE Element de la nomenclature 340 (complétude d'envoi) par code = --><xsl:key name="keyNomenclature340" match="ref:REFERENTIELS/ref:REFERENTIELS/ref:Referentiel[ref:CdReferentiel=340]/ref:Element" use="ref:CdElement"/>


    <!-- ============================================ -->
    <!-- ============================================ -->
    <!-- ============================================ -->
    <!-- ============================================ --><xsl:template match="/FctAssain" mode="transform"><fo:root><fo:layout-master-set><fo:simple-page-master master-name="portrait" page-width="21cm" page-height="29.7cm" margin-left="1.0cm" margin-top="1.5cm" margin-right="1.0cm" margin-bottom="1.5cm"><fo:region-body/></fo:simple-page-master><fo:simple-page-master master-name="paysage" page-width="29.7cm" page-height="21cm" margin-left="1.0cm" margin-top="1.5cm" margin-right="1.0cm" margin-bottom="1.5cm"><fo:region-body/></fo:simple-page-master></fo:layout-master-set><fo:page-sequence master-reference="portrait"><fo:flow flow-name="xsl-region-body">
                    <!--<fo:block xsl:use-attribute-sets="Titre" width="18cm">
                        <xsl:value-of select="key('keyNomenclature295', Demande/TypeDemande)/ref:LbElement"/>
                        date du : <xsl:value-of select="$dateD"/>
                    </fo:block>--><fo:table table-layout="fixed" width="18cm"><fo:table-column column-width="100mm"/><fo:table-body><fo:table-row><fo:table-cell><fo:block><fo:basic-link internal-destination="Caracteristiques"><fo:inline color="blue" text-decoration="underline">Caractéristiques du fichier d'échanges</fo:inline></fo:basic-link></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block><fo:basic-link internal-destination="ListeOuvrages"><fo:inline color="blue" text-decoration="underline">Liste des ouvrages d'assainissement</fo:inline></fo:basic-link></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block><fo:basic-link internal-destination="DonneesFonct"><fo:inline color="blue" text-decoration="underline">Données de fonctionnement</fo:inline></fo:basic-link></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block><fo:basic-link internal-destination="Boues"><fo:inline color="blue" text-decoration="underline">Destinations des boues et sous-produits</fo:inline></fo:basic-link></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell><fo:block><fo:basic-link internal-destination="Globaux"><fo:inline color="blue" text-decoration="underline">Evènement et commentaires globaux</fo:inline></fo:basic-link></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><xsl:call-template name="carac"/></fo:flow></fo:page-sequence><fo:page-sequence master-reference="paysage"><fo:flow flow-name="xsl-region-body"><xsl:call-template name="listeouvrage"/><fo:block><fo:inline id="DonneesFonct"> </fo:inline></fo:block><xsl:call-template name="fonctionnement"/><xsl:call-template name="boue"/><xsl:call-template name="globaux"/></fo:flow></fo:page-sequence></fo:root></xsl:template>

    <!-- ========================== -->
    <!-- = DETAILS DE LA DEMANDE  = -->
    <!-- ========================== --><xsl:template name="carac"><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="120mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre14" number-columns-spanned="2"><fo:block><fo:inline id="Caracteristiques">CARACTERISTIQUES DU FICHIER D'ECHANGE</fo:inline></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="Label14"><fo:block>Code du scénario :</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="Value14"><fo:block><xsl:value-of select="/FctAssain/Scenario/CodeScenario"/></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="Label14"><fo:block>Version du scénario :</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="Value14"><fo:block><xsl:value-of select="/FctAssain/Scenario/VersionScenario"/></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="Label14"><fo:block>Nom du scénario :</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="Value14"><fo:block><xsl:value-of select="/FctAssain/Scenario/NomScenario"/></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="Label14"><fo:block>Date de création du fichier :</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="Value14"><fo:block><xsl:value-of select="/FctAssain/Scenario/DateCreationFichier"/></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="Label14"><fo:block>Date de début de référence :</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="Value14"><fo:block><xsl:value-of select="/FctAssain/Scenario/DateDebutReference"/></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="Label14"><fo:block>Date de fin de référence :</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="Value14"><fo:block><xsl:value-of select="/FctAssain/Scenario/DateFinReference"/></fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="Label14"><fo:block>Emetteur du fichier :</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="Value14"><fo:block><xsl:value-of select="/FctAssain/Scenario/Emetteur/CdIntervenant"/>(<xsl:value-of select="/FctAssain/Scenario/Emetteur/NomIntervenant"/>)</fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="Label14"><fo:block>Destinataire du fichier :</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="Value14"><fo:block><xsl:value-of select="/FctAssain/Scenario/Destinataire/CdIntervenant"/>(<xsl:value-of select="/FctAssain/Scenario/Destinataire/NomIntervenant"/>)</fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template>

    <!-- ========================== -->
    <!-- = LISTE DES OUVRAGES     = -->
    <!-- ========================== --><xsl:template name="listeouvrage"><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre14" number-columns-spanned="2"><fo:block><fo:inline id="ListeOuvrages">LISTE DES OUVRAGES D'ASSAINISSEMENT COLLECTIF (STEU ET SCL)</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="35mm"/><fo:table-column column-width="35mm"/><fo:table-column column-width="35mm"/><fo:table-column column-width="35mm"/><fo:table-column column-width="40mm"/><fo:table-column column-width="40mm"/><fo:table-column column-width="40mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:ODP::attribut:CdOuvrageDepollution:ressource:latest:::html)">
                                Code de l'ouvrage
                            </fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:ODP::attribut:LbOuvrageDepollution:ressource:latest:::html)">
                                Nom de l'ouvrage
                            </fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Type d'ouvrage</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:COM::attribut:CdCommune:ressource:latest:::html)">
                                Commune d'implantation
                            </fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:INT::attribut:CdIntervenant:ressource:latest:::html)">
                                Maître d'ouvrage
                            </fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:INT::attribut:CdIntervenant:ressource:latest:::html)">
                                Exploitant
                            </fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:SCL::attribut:CdAgglomerationAssainissement:ressource:latest:::html)">
                                Agglomération d'assainissement
                            </fo:basic-link></fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/OuvrageDepollution"><xsl:variable name="ouvrage" select="CdOuvrageDepollution"/><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><fo:basic-link internal-destination="fonct{$ouvrage}"><xsl:value-of select="CdOuvrageDepollution"/></fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="NomOuvrageDepollution"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block>STEU</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="Commune/CdCommune"/>(<xsl:value-of select="Commune/LbCommune"/>)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="MaitreDOuvrage/CdIntervenant"/>(<xsl:value-of select="MaitreDOuvrage/NomIntervenant"/>)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="Exploitant/CdIntervenant"/>(<xsl:value-of select="Exploitant/NomIntervenant"/>)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:for-each><xsl:for-each select="/FctAssain/SystemeCollecte"><xsl:variable name="ouvrage" select="CdSystemeCollecte"/><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><fo:basic-link internal-destination="fonct{$ouvrage}"><xsl:value-of select="CdSystemeCollecte"/></fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="LbSystemeCollecte"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block>SCL</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="AgglomerationAssainissement/CdAgglomerationAssainissement"/>(<xsl:value-of select="AgglomerationAssainissement/NomAgglomerationAssainissement"/>)</fo:block></fo:table-cell></fo:table-row></xsl:for-each></fo:table-body></fo:table></xsl:template>

    <!-- ================================= -->
    <!-- = DONNEES DE FONCTIONNEMENT     = -->
    <!-- ================================= --><xsl:template name="fonctionnement">

        <!--OuvrageDepollution--><xsl:for-each select="/FctAssain/OuvrageDepollution"><xsl:variable name="ouvrage" select="CdOuvrageDepollution"/><xsl:call-template name="foncttitresteu"><xsl:with-param name="code"><xsl:value-of select="CdOuvrageDepollution"/></xsl:with-param></xsl:call-template><xsl:call-template name="fonctpmesureSTEU"><xsl:with-param name="code"><xsl:value-of select="CdOuvrageDepollution"/></xsl:with-param></xsl:call-template><xsl:for-each select="/FctAssain/OuvrageDepollution/PointMesure"><xsl:if test="../CdOuvrageDepollution=$ouvrage"><xsl:variable name="mesure" select="NumeroPointMesure"/><xsl:call-template name="fonctprelSTEU"><xsl:with-param name="codeO"><xsl:value-of select="$ouvrage"/></xsl:with-param><xsl:with-param name="codeP"><xsl:value-of select="NumeroPointMesure"/></xsl:with-param></xsl:call-template><xsl:for-each select="/FctAssain/OuvrageDepollution/PointMesure/Prlvt"><xsl:if test="../../CdOuvrageDepollution=$ouvrage"><xsl:if test="../NumeroPointMesure=$mesure"><xsl:call-template name="fonctanalyseSTEU"><xsl:with-param name="codeO"><xsl:value-of select="$ouvrage"/></xsl:with-param><xsl:with-param name="codeP"><xsl:value-of select="$mesure"/></xsl:with-param><xsl:with-param name="dateP"><xsl:value-of select="DatePrlvt"/></xsl:with-param></xsl:call-template></xsl:if></xsl:if></xsl:for-each></xsl:if></xsl:for-each></xsl:for-each>
        <!--SystemeCollecte--><xsl:for-each select="/FctAssain/SystemeCollecte"><xsl:variable name="ouvrage" select="CdSystemeCollecte"/><xsl:call-template name="foncttitrescl"><xsl:with-param name="code"><xsl:value-of select="CdSystemeCollecte"/></xsl:with-param></xsl:call-template><xsl:call-template name="fonctpmesureSCL"><xsl:with-param name="code"><xsl:value-of select="CdSystemeCollecte"/></xsl:with-param></xsl:call-template><xsl:for-each select="/FctAssain/SystemeCollecte/PointMesure"><xsl:if test="../CdSystemeCollecte=$ouvrage"><xsl:variable name="mesure" select="NumeroPointMesure"/><xsl:call-template name="fonctprelSCL"><xsl:with-param name="codeO"><xsl:value-of select="$ouvrage"/></xsl:with-param><xsl:with-param name="codeP"><xsl:value-of select="NumeroPointMesure"/></xsl:with-param></xsl:call-template><xsl:for-each select="/FctAssain/SystemeCollecte/PointMesure/Prlvt"><xsl:if test="../../CdSystemeCollecte=$ouvrage"><xsl:if test="../NumeroPointMesure=$mesure"><xsl:call-template name="fonctanalyseSCL"><xsl:with-param name="codeO"><xsl:value-of select="$ouvrage"/></xsl:with-param><xsl:with-param name="codeP"><xsl:value-of select="$mesure"/></xsl:with-param><xsl:with-param name="dateP"><xsl:value-of select="DatePrlvt"/></xsl:with-param></xsl:call-template></xsl:if></xsl:if></xsl:for-each></xsl:if></xsl:for-each></xsl:for-each></xsl:template>

    <!-- ======================================== -->
    <!-- = DONNEES DE FONCTIONNEMENT / TITRESTEU    = -->
    <!-- ======================================== --><xsl:template name="foncttitresteu"><xsl:param name="code"/><xsl:if test="$code"><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre14" number-columns-spanned="2"><fo:block><fo:inline> </fo:inline><fo:inline id="fonct{$code}">DONNEES DE FONCTIONNEMENT DE L'OUVRAGE d'ASSAINISSEMENT COLLECTIF <xsl:value-of select="$code"/> (STEU)</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:if></xsl:template>

    <!-- ======================================== -->
    <!-- = DONNEES DE FONCTIONNEMENT / TITRESCL = -->
    <!-- ======================================== --><xsl:template name="foncttitrescl"><xsl:param name="code"/><xsl:if test="$code"><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre14" number-columns-spanned="2"><fo:block><fo:inline id="{generate-id()}"> </fo:inline><fo:inline id="fonct{$code}">DONNEES DE FONCTIONNEMENT DE L'OUVRAGE d'ASSAINISSEMENT COLLECTIF <xsl:value-of select="$code"/> (SCL)</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:if></xsl:template>

    <!-- ==================== -->
    <!-- = BOUE /TITRE STEU = -->
    <!-- ==================== --><xsl:template name="bouetitreSTEU"><xsl:param name="code"/><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre12" number-columns-spanned="2"><fo:block><fo:inline>OUVRAGE d'ASSAINISSEMENT COLLECTIF <xsl:value-of select="$code"/> (STEU)</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template>

    <!-- ==================== -->
    <!-- = BOUE /TITRE SCL  = -->
    <!-- ==================== --><xsl:template name="bouetitreSCL"><xsl:param name="code"/><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre12" number-columns-spanned="2"><fo:block><fo:inline>OUVRAGE d'ASSAINISSEMENT COLLECTIF <xsl:value-of select="$code"/> (SCL)</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template>

    <!-- ============================================ -->
    <!-- = DONNEES DE FONCTIONNEMENT / P MesureSTEU = -->
    <!-- ============================================ --><xsl:template name="fonctpmesureSTEU"><xsl:param name="code"/><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre14" number-columns-spanned="2"><fo:block><fo:inline>Points de mesure <xsl:value-of select="$code"/> (STEU)</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="65mm"/><fo:table-column column-width="65mm"/><fo:table-column column-width="65mm"/><fo:table-column column-width="65mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:NumeroPointMesure:ressource:latest:::html)">
                                Numero du point de mesure
                            </fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LocGlobalePointMesure:ressource:latest:::html)">
                                Localisation globale du point de mesure
                            </fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LbPointMesure:ressource:latest:::html)">
                                Libellé du point de mesure
                            </fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:ComPointMesure:ressource:latest:::html)">
                                Commentaires sur le point de mesure
                            </fo:basic-link></fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/OuvrageDepollution/PointMesure"><xsl:variable name="PointMesure" select="NumeroPointMesure"/><xsl:if test="../CdOuvrageDepollution=$code"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><fo:basic-link internal-destination="prel{$code}{$PointMesure}"><xsl:value-of select="NumeroPointMesure"/></fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="LocGlobalePointMesure"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="LbPointMesure"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="PointMesure/ComPointMesure"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:for-each></fo:table-body></fo:table></xsl:template>

    <!-- ============================================ -->
    <!-- = DONNEES DE FONCTIONNEMENT / P MesureSCL  = -->
    <!-- ============================================ --><xsl:template name="fonctpmesureSCL"><xsl:param name="code"/><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre14" number-columns-spanned="2"><fo:block><fo:inline>Points de mesure <xsl:value-of select="$code"/> (SCL)</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="65mm"/><fo:table-column column-width="65mm"/><fo:table-column column-width="65mm"/><fo:table-column column-width="65mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:NumeroPointMesure:ressource:latest:::html)">    
                                Numero du point de mesure
                            </fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LocGlobalePointMesure:ressource:latest:::html)">
                                Localisation globale du point de mesure
                            </fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LbPointMesure:ressource:latest:::html)">
                                Libellé du point de mesure
                            </fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:ComPointMesure:ressource:latest:::html)">
                                Commentaires sur le point de mesure
                            </fo:basic-link></fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/SystemeCollecte/PointMesure"><xsl:variable name="PointMesure" select="NumeroPointMesure"/><xsl:if test="../CdSystemeCollecte=$code"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><fo:basic-link internal-destination="prel{$code}{$PointMesure}"><xsl:value-of select="NumeroPointMesure"/></fo:basic-link></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="LocGlobalePointMesure"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="LbPointMesure"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="PointMesure/ComPointMesure"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:for-each></fo:table-body></fo:table></xsl:template>

    <!-- =============================================== -->
    <!-- = DONNEES DE FONCTIONNEMENT / PrelevementSTEU = -->
    <!-- =============================================== --><xsl:template name="fonctprelSTEU"><xsl:param name="codeO"/><xsl:param name="codeP"/><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre12" number-columns-spanned="2"><fo:block><fo:inline id="prel{$codeO}{$codeP}">Prélèvements du point de mesure <xsl:value-of select="$codeP"/></fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><fo:table xsl:use-attribute-sets="nobord"><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-body><fo:table-row><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'01'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'02'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'03'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'04'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'05'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'06'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'07'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'08'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'09'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'10'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'11'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudate"><xsl:with-param name="mois" select="'12'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template>

    <!-- ============================================== -->
    <!-- = DONNEES DE FONCTIONNEMENT / PrelevementSCL = -->
    <!-- ============================================== --><xsl:template name="fonctprelSCL"><xsl:param name="codeO"/><xsl:param name="codeP"/><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre12" number-columns-spanned="2"><fo:block><fo:inline id="prel{$codeO}{$codeP}">Prélèvements du point de mesure <xsl:value-of select="$codeP"/></fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><fo:table xsl:use-attribute-sets="nobord"><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-column column-width="21mm"/><fo:table-body><fo:table-row><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'01'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'02'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'03'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'04'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'05'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'06'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'07'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'08'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'09'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'10'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'11'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell><fo:table-cell><fo:block><xsl:call-template name="tableaudateSCL"><xsl:with-param name="mois" select="'12'"/><xsl:with-param name="codeO" select="$codeO"/><xsl:with-param name="codeP" select="$codeP"/></xsl:call-template></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template><xsl:template name="tableaudate"><xsl:param name="mois"/><xsl:param name="codeO"/><xsl:param name="codeP"/><xsl:if test="$mois"><fo:table xsl:use-attribute-sets="nobord"><fo:table-column column-width="20mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH2"><fo:block><xsl:if test="$mois='01'">Janvier</xsl:if><xsl:if test="$mois='02'">Fevrier</xsl:if><xsl:if test="$mois='03'">Mars</xsl:if><xsl:if test="$mois='04'">Avril</xsl:if><xsl:if test="$mois='05'">Mai</xsl:if><xsl:if test="$mois='06'">Juin</xsl:if><xsl:if test="$mois='07'">Juillet</xsl:if><xsl:if test="$mois='08'">Aout</xsl:if><xsl:if test="$mois='09'">Septembre</xsl:if><xsl:if test="$mois='10'">Octobre</xsl:if><xsl:if test="$mois='11'">Novembre</xsl:if><xsl:if test="$mois='12'">Décembre</xsl:if></fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/OuvrageDepollution/PointMesure/Prlvt"><xsl:if test="../../CdOuvrageDepollution=$codeO"><xsl:if test="../NumeroPointMesure=$codeP"><xsl:variable name="date"><xsl:value-of select="DatePrlvt"/></xsl:variable><xsl:if test="substring($date, 6, 2)=$mois"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><fo:basic-link internal-destination="anal{$codeO}{$codeP}{$date}"><xsl:value-of select="DatePrlvt"/></fo:basic-link></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:if></xsl:if></xsl:for-each>
                    <!--<xsl:if test="count(/FctAssain/OuvrageDepollution/PointMesure/Prlvt[substring(DatePrlvt, 6, 2)=$mois]) > 0">
                        <xsl:if test="$mois='02'">
                            <fo:table-row>
                                <fo:table-cell xsl:use-attribute-sets="cell Value10">
                                    <fo:block> </fo:block>
                                </fo:table-cell>
                            </fo:table-row>
                        </xsl:if>



                        <xsl:variable name="list" select="'04 06 09 11'"/>
                        <xsl:if test="   contains(      concat(' ', $list, ' '),     concat(' ', $mois, ' ')   ) ">
                            <fo:table-row>
                                <fo:table-cell xsl:use-attribute-sets="cell Value10">
                                    <fo:block> </fo:block>
                                </fo:table-cell>
                            </fo:table-row>
                        </xsl:if>
                    </xsl:if>--></fo:table-body></fo:table></xsl:if></xsl:template><xsl:template name="tableaudateSCL"><xsl:param name="mois"/><xsl:param name="codeO"/><xsl:param name="codeP"/><xsl:if test="$mois"><fo:table xsl:use-attribute-sets="nobord"><fo:table-column column-width="20mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH2"><fo:block><xsl:if test="$mois='01'">Janvier</xsl:if><xsl:if test="$mois='02'">Fevrier</xsl:if><xsl:if test="$mois='03'">Mars</xsl:if><xsl:if test="$mois='04'">Avril</xsl:if><xsl:if test="$mois='05'">Mai</xsl:if><xsl:if test="$mois='06'">Juin</xsl:if><xsl:if test="$mois='07'">Juillet</xsl:if><xsl:if test="$mois='08'">Aout</xsl:if><xsl:if test="$mois='09'">Septembre</xsl:if><xsl:if test="$mois='10'">Octobre</xsl:if><xsl:if test="$mois='11'">Novembre</xsl:if><xsl:if test="$mois='12'">Décembre</xsl:if></fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/SystemeCollecte/PointMesure/Prlvt"><xsl:if test="../../CdSystemeCollecte=$codeO"><xsl:if test="../NumeroPointMesure=$codeP"><xsl:variable name="date"><xsl:value-of select="DatePrlvt"/></xsl:variable><xsl:if test="substring($date, 6, 2)=$mois"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><fo:basic-link internal-destination="anal{$codeO}{$codeP}{$date}"><xsl:value-of select="DatePrlvt"/></fo:basic-link></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:if></xsl:if></xsl:for-each>

                    <!--<xsl:if test="count(/FctAssain/SystemeCollecte/PointMesure/Prlvt[substring(DatePrlvt, 6, 2)=$mois]) > 0">
                        <xsl:if test="$mois='02'">
                            <fo:table-row>
                                <fo:table-cell xsl:use-attribute-sets="cell Value10">
                                    <fo:block> </fo:block>
                                </fo:table-cell>
                            </fo:table-row>
                        </xsl:if>



                        <xsl:variable name="list" select="'04 06 09 11'"/>
                        <xsl:if test="   contains(      concat(' ', $list, ' '),     concat(' ', $mois, ' ')   ) ">
                            <fo:table-row>
                                <fo:table-cell xsl:use-attribute-sets="cell Value10">
                                    <fo:block> </fo:block>
                                </fo:table-cell>
                            </fo:table-row>
                        </xsl:if>
                    </xsl:if>--></fo:table-body></fo:table></xsl:if></xsl:template>

    <!-- =========================================== -->
    <!-- = DONNEES DE FONCTIONNEMENT / analyseSTEU = -->
    <!-- =========================================== --><xsl:template name="fonctanalyseSTEU"><xsl:param name="codeO"/><xsl:param name="codeP"/><xsl:param name="dateP"/><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre12" number-columns-spanned="2"><fo:block><fo:inline id="anal{$codeO}{$codeP}{$dateP}">Analyses du prélèvement en date du <xsl:value-of select="$dateP"/> effectué sur le point de mesure <xsl:value-of select="$codeP"/></fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="17mm"/><fo:table-column column-width="17mm"/><fo:table-column column-width="17mm"/><fo:table-column column-width="20mm"/><fo:table-column column-width="6mm"/><fo:table-column column-width="23mm"/><fo:table-column column-width="16mm"/><fo:table-column column-width="17mm"/><fo:table-column column-width="10mm"/><fo:table-column column-width="6mm"/><fo:table-column column-width="13mm"/><fo:table-column column-width="13mm"/><fo:table-column column-width="13mm"/><fo:table-column column-width="13mm"/><fo:table-column column-width="11mm"/><fo:table-column column-width="11mm"/><fo:table-column column-width="11mm"/><fo:table-column column-width="13mm"/><fo:table-column column-width="13mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:NumeroPointMesure:ressource:latest:::html)">
                                    Numero du point de mesure
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LocGlobalePointMesure:ressource:latest:::html)">
                                    Localisation globale du point de mesure
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:DatePrlvtEffluent:ressource:latest:::html)">
                                    Date du prélèvement
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PAR::entite:FractionAnalysee:ressource:latest:::html)">
                                    Fraction analysée
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:CdRemAnalyse :ressource:latest:::html)">
                                    Code remarque
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PAR::entite:Parametre:ressource:latest:::html)">
                                    Paramètre
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:RsAnalyse:ressource:latest:::html)">
                                    Résultat d'analyse
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:InSituAnalyse:ressource:latest:::html)">
                                    Insitu / en laboratoire
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:FinaliteAnalyse:ressource:latest:::html)">
                                    Finalité
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:StatutRsAnalyse:ressource:latest:::html)">
                                    Statut du résultat
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:QualRsAnalyse:ressource:latest:::html)">
                                    Qualification du résultat
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:DateAnalyse:ressource:latest:::html)">
                                    Date et heure de l'analyse
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PAR::entite:Methode:ressource:latest:::html)">
                                    Méthode d'analyse
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:INT::attribut:CdIntervenant:ressource:latest:::html)">
                                    Laboratoire d'analyse
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LDAna:ressource:latest:::html)">
                                    LD
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LQAna:ressource:latest:::html)">
                                    LQ
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LSAna:ressource:latest:::html)">
                                    LS
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:AccreAna:ressource:latest:::html)">
                                    Accréditation
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:ComAna:ressource:latest:::html)">
                                    Commentaire
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/OuvrageDepollution/PointMesure/Prlvt/Analyse"><xsl:if test="../../../CdOuvrageDepollution=$codeO"><xsl:if test="../../NumeroPointMesure=$codeP"><xsl:if test="../DatePrlvt=$dateP"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="../../NumeroPointMesure"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="../../LocGlobalePointMesure"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="../DatePrlvt"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="key('keyFraction', FractionAnalysee/CdFractionAnalysee)/ref:LbFractionAnalysee"/><xsl:text>
                                            </xsl:text>(<xsl:value-of select="FractionAnalysee/CdFractionAnalysee"/>)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="CdRemAnalyse"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="key('keyParametre', Parametre/CdParametre)/ref:NomParametre"/><xsl:text>
                                            </xsl:text>(<xsl:value-of select="Parametre/CdParametre"/>)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="RsAnalyse"/><xsl:text>
                                            </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="key('keyNomenclature156', InSituAnalyse)/ref:LbElement"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="key('keyNomenclature216', FinaliteAnalyse)/ref:LbElement"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="StatutRsAnalyse"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="QualRsAnalyse"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value6"><fo:block><xsl:value-of select="DateAnalyse"/><fo:block/><xsl:value-of select="HeureAnalyse"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="key('keyMethode', MethodeAna/CdMethode)/ref:LbLongMethode"/>(<xsl:value-of select="MethodeAna/CdMethode"/>)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="Laboration/CdIntervenant"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="LDAna"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="LQAna"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="LSAna"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="AccreAna"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="ComAna"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:if></xsl:if></xsl:for-each></fo:table-body></fo:table></xsl:template>

    <!-- ========================================== -->
    <!-- = DONNEES DE FONCTIONNEMENT / analyseSCL = -->
    <!-- ========================================== --><xsl:template name="fonctanalyseSCL"><xsl:param name="codeO"/><xsl:param name="codeP"/><xsl:param name="dateP"/><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre12" number-columns-spanned="2"><fo:block><fo:inline id="anal{$codeO}{$codeP}{$dateP}">Analyses du prélèvement en date du <xsl:value-of select="$dateP"/> effectué sur le point de mesure <xsl:value-of select="$codeP"/></fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="17mm"/><fo:table-column column-width="17mm"/><fo:table-column column-width="17mm"/><fo:table-column column-width="20mm"/><fo:table-column column-width="6mm"/><fo:table-column column-width="23mm"/><fo:table-column column-width="16mm"/><fo:table-column column-width="17mm"/><fo:table-column column-width="10mm"/><fo:table-column column-width="6mm"/><fo:table-column column-width="13mm"/><fo:table-column column-width="13mm"/><fo:table-column column-width="13mm"/><fo:table-column column-width="13mm"/><fo:table-column column-width="11mm"/><fo:table-column column-width="11mm"/><fo:table-column column-width="11mm"/><fo:table-column column-width="13mm"/><fo:table-column column-width="13mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:NumeroPointMesure:ressource:latest:::html)">
                                Numero du point de mesure
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LocGlobalePointMesure:ressource:latest:::html)">
                                Localisation globale du point de mesure
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:DatePrlvtEffluent:ressource:latest:::html)">
                                Date du prélèvement
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PAR::entite:FractionAnalysee:ressource:latest:::html)">
                                Fraction analysée
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:CdRemAnalyse :ressource:latest:::html)">
                                Code remarque
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PAR::entite:Parametre:ressource:latest:::html)">
                                Paramètre
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:RsAnalyse:ressource:latest:::html)">
                                Résultat d'analyse
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:InSituAnalyse:ressource:latest:::html)">
                                Insitu / en laboratoire
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:FinaliteAnalyse:ressource:latest:::html)">
                                Finalité
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:StatutRsAnalyse:ressource:latest:::html)">
                                Statut du résultat
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:QualRsAnalyse:ressource:latest:::html)">
                                Qualification du résultat
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:DateAnalyse:ressource:latest:::html)">
                                Date et heure de l'analyse
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PAR::entite:Methode:ressource:latest:::html)">
                                Méthode d'analyse
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:INT::attribut:CdIntervenant:ressource:latest:::html)">
                                Laboratoire d'analyse
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LDAna:ressource:latest:::html)">
                                LD
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LQAna:ressource:latest:::html)">
                                LQ
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:LSAna:ressource:latest:::html)">
                                LS
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:AccreAna:ressource:latest:::html)">
                                Accréditation
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block-container reference-orientation="90" inline-progression-dimension="40mm"><fo:block><fo:basic-link external-destination="url(http://www.sandre.eaufrance.fr/?urn=urn:sandre:dictionnaire:PMO::attribut:ComAna:ressource:latest:::html)">
                                Commentaire
                                </fo:basic-link></fo:block></fo:block-container></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/SystemeCollecte/PointMesure/Prlvt/Analyse"><xsl:if test="../../../CdSystemeCollecte=$codeO"><xsl:if test="../../NumeroPointMesure=$codeP"><xsl:if test="../DatePrlvt=$dateP"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="../../NumeroPointMesure"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="../../LocGlobalePointMesure"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="../DatePrlvt"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="key('keyFraction', FractionAnalysee/CdFractionAnalysee)/ref:LbFractionAnalysee"/><xsl:text>
                                            </xsl:text>(<xsl:value-of select="FractionAnalysee/CdFractionAnalysee"/>)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="CdRemAnalyse"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="key('keyParametre', Parametre/CdParametre)/ref:NomParametre"/><xsl:text>
                                            </xsl:text>(<xsl:value-of select="Parametre/CdParametre"/>)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="RsAnalyse"/><xsl:text>
                                            </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="key('keyNomenclature156', InSituAnalyse)/ref:LbElement"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="key('keyNomenclature216', FinaliteAnalyse)/ref:LbElement"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="StatutRsAnalyse"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="QualRsAnalyse"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value6"><fo:block><xsl:value-of select="DateAnalyse"/><fo:block/><xsl:value-of select="HeureAnalyse"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="key('keyMethode', MethodeAna/CdMethode)/ref:LbLongMethode"/>(<xsl:value-of select="MethodeAna/CdMethode"/>)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="Laboration/CdIntervenant"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="LDAna"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="LQAna"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="LSAna"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="AccreAna"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value8"><fo:block><xsl:value-of select="ComAna"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:if></xsl:if></xsl:for-each></fo:table-body></fo:table></xsl:template>

    <!-- ================== -->
    <!-- = BOUE           = -->
    <!-- ================== --><xsl:template name="boue"><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre14" number-columns-spanned="2"><fo:block><fo:inline id="Boues">DESTINATIONS DES BOUES ET SOUS-PRODUITS</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><xsl:for-each select="/FctAssain/OuvrageDepollution"><xsl:variable name="ouvrage" select="CdOuvrageDepollution"/><xsl:if test="count(ValeurCaracteristiqueRejet) &gt; 0"><xsl:call-template name="bouetitreSTEU"><xsl:with-param name="code"><xsl:value-of select="CdOuvrageDepollution"/></xsl:with-param></xsl:call-template></xsl:if><xsl:if test="count(ValeurCaracteristiqueRejet[PeriodeCalcul=1]) &gt; 0"><xsl:call-template name="bouejourSTEU"><xsl:with-param name="code"><xsl:value-of select="CdOuvrageDepollution"/></xsl:with-param><xsl:with-param name="periode"><xsl:value-of select="'1'"/></xsl:with-param></xsl:call-template></xsl:if><xsl:if test="count(ValeurCaracteristiqueRejet[PeriodeCalcul=365]) &gt; 0"><xsl:call-template name="bouefinSTEU"><xsl:with-param name="code"><xsl:value-of select="CdOuvrageDepollution"/></xsl:with-param><xsl:with-param name="periode"><xsl:value-of select="'365'"/></xsl:with-param></xsl:call-template></xsl:if></xsl:for-each><xsl:for-each select="/FctAssain/SystemeCollecte"><xsl:variable name="ouvrage" select="CdSystemeCollecte"/><xsl:if test="count(ValeurCaracteristiqueRejet) &gt; 0"><xsl:call-template name="bouetitreSCL"><xsl:with-param name="code"><xsl:value-of select="CdSystemeCollecte"/></xsl:with-param></xsl:call-template></xsl:if><xsl:if test="count(ValeurCaracteristiqueRejet[PeriodeCalcul=1]) &gt; 0"><xsl:call-template name="bouejourSCL"><xsl:with-param name="code"><xsl:value-of select="CdSystemeCollecte"/></xsl:with-param><xsl:with-param name="periode"><xsl:value-of select="'1'"/></xsl:with-param></xsl:call-template></xsl:if><xsl:if test="count(ValeurCaracteristiqueRejet[PeriodeCalcul=365]) &gt; 0"><xsl:call-template name="bouefinSCL"><xsl:with-param name="code"><xsl:value-of select="CdSystemeCollecte"/></xsl:with-param><xsl:with-param name="periode"><xsl:value-of select="'365'"/></xsl:with-param></xsl:call-template></xsl:if></xsl:for-each></xsl:template>

    <!-- ==================== -->
    <!-- = BOUE /JOUR STEU  = -->
    <!-- ==================== --><xsl:template name="bouejourSTEU"><xsl:param name="code"/><xsl:param name="periode"/><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="22mm"/><fo:table-column column-width="22mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH" number-columns-spanned="12"><fo:block>Destinations</fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Date de fin de période</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Support</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Compostage déchét (C2)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Centre de compostage (C1)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Usine d'incinération (I)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Stockage en décharge (S)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Centre de transit (T)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Epandage agricole (U)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Station d'assainissement (4)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Centre de séchage (SH)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Méthanisation (MH)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Unité de traitement des sous-produits (5)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Valorisation industrielle (2)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Epandage forestier</fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/03.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/04.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/05.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/06.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/07.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/08.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/09.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/10.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/11.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/12.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/13.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/14.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/OuvrageDepollution/ValeurCaracteristiqueRejet"><xsl:if test="../CdOuvrageDepollution=$code"><xsl:if test="PeriodeCalcul=$periode"><xsl:if test="Destination/TypeOuvrageAval='C2'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='C1'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='I'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='S'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='T'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='U'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='4'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value6"><fo:block><xsl:value-of select="Destination/CdOuvrageAval"/><xsl:text>
                                    </xsl:text><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='SH'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='MH'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='5'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='2'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='EF'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:if></xsl:if></xsl:for-each></fo:table-body></fo:table></xsl:template>

    <!-- ==================== -->
    <!-- = BOUE /JOUR SCL   = -->
    <!-- ==================== --><xsl:template name="bouejourSCL"><xsl:param name="code"/><xsl:param name="periode"/><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="22mm"/><fo:table-column column-width="22mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-column column-width="18mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH" number-columns-spanned="12"><fo:block>Destinations</fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Date de fin de période</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Support</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Compostage déchét (C2)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Centre de compostage (C1)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Usine d'incinération (I)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Stockage en décharge (S)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Centre de transit (T)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Epandage agricole (U)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Station d'assainissement (4)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Centre de séchage (SH)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Méthanisation (MH)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Unité de traitement des sous-produits (5)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Valorisation industrielle (2)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH3"><fo:block>Epandage forestier</fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/03.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/04.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/05.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/06.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/07.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/08.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/09.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/10.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/11.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/12.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/13.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/14.jpg" content-height="scale-to-fit" width="12mm"/></fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/SystemeCollecte/ValeurCaracteristiqueRejet"><xsl:if test="../CdSystemeCollecte=$code"><xsl:if test="PeriodeCalcul=$periode"><xsl:if test="Destination/TypeOuvrageAval='C2'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='C1'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='I'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='S'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='T'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='U'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='4'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value6"><fo:block><xsl:value-of select="Destination/CdOuvrageAval"/><xsl:text>
                                    </xsl:text><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='SH'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='MH'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='5'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='2'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='EF'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:if></xsl:if></xsl:for-each></fo:table-body></fo:table></xsl:template>

    <!-- ==================== -->
    <!-- = BOUE /FIN STEU   = -->
    <!-- ==================== --><xsl:template name="bouefinSTEU"><xsl:param name="code"/><xsl:param name="periode"/><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="32mm"/><fo:table-column column-width="32mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH" number-columns-spanned="7"><fo:block>Destinations</fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Date de fin de période</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Support</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Centre de compostage (C1)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Usine d'incinération (I)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Stockage en décharge (S)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Epandage agricole (U)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Station d'assainissement (4)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Valorisation industrielle (2)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Epandage forestier</fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/04.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/05.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/06.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/08.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/09.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/13.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/14.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/OuvrageDepollution/ValeurCaracteristiqueRejet"><xsl:if test="../CdOuvrageDepollution=$code"><xsl:if test="PeriodeCalcul=$periode"><xsl:if test="Destination/TypeOuvrageAval='C1'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='I'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='S'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='U'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='4'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='2'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='EF'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:if></xsl:if></xsl:for-each></fo:table-body></fo:table></xsl:template>

    <!-- ==================== -->
    <!-- = BOUE /FIN SCL    = -->
    <!-- ==================== --><xsl:template name="bouefinSCL"><xsl:param name="code"/><xsl:param name="periode"/><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="32mm"/><fo:table-column column-width="32mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-column column-width="28mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH" number-columns-spanned="7"><fo:block>Destinations</fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Date de fin de période</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Support</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Centre de compostage (C1)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Usine d'incinération (I)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Stockage en décharge (S)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Epandage agricole (U)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Station d'assainissement (4)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Valorisation industrielle (2)</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Epandage forestier</fo:block></fo:table-cell></fo:table-row><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/04.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/05.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/06.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/08.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/09.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/13.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block><fo:external-graphic src="http://192.168.56.1:8090/img/14.jpg" content-height="scale-to-fit" width="24mm"/></fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/SystemeCollecte/ValeurCaracteristiqueRejet"><xsl:if test="../CdSystemeCollecte=$code"><xsl:if test="PeriodeCalcul=$periode"><xsl:if test="Destination/TypeOuvrageAval='C1'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='I'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='S'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='U'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='4'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='2'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell></fo:table-row></xsl:if><xsl:if test="Destination/TypeOuvrageAval='EF'"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriodeReference"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="key('keySupport', Support/CdSupport)/ref:LbSupport"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block> </fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="ValeurCaracteristique"/><xsl:text>
                                    </xsl:text><xsl:value-of select="key('keyUniteReference', UniteMesure/CdUniteMesure)/ref:SymUniteReference"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:if></xsl:if></xsl:for-each></fo:table-body></fo:table></xsl:template>

    <!-- ================= -->
    <!-- = Globaux       = -->
    <!-- ================= --><xsl:template name="globaux"><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre14" number-columns-spanned="2"><fo:block><fo:inline id="Globaux">EVENEMENTS ET COMMENTAIRES GLOBAUX</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><xsl:for-each select="/FctAssain/OuvrageDepollution"><xsl:variable name="ouvrage" select="CdOuvrageDepollution"/><xsl:if test="(count(CommentairesGlobaux)+ count(EvenOuvrageAssainissement)) &gt; 0"><xsl:call-template name="globTitreSTEU"><xsl:with-param name="code"><xsl:value-of select="CdOuvrageDepollution"/></xsl:with-param></xsl:call-template><xsl:call-template name="globTabSTEU"><xsl:with-param name="code"><xsl:value-of select="CdOuvrageDepollution"/></xsl:with-param></xsl:call-template></xsl:if></xsl:for-each><xsl:for-each select="/FctAssain/SystemeCollecte"><xsl:variable name="ouvrage" select="CdSystemeCollecte"/><xsl:if test="(count(CommentairesGlobaux)+ count(EvenOuvrageAssainissement)) &gt; 0"><xsl:call-template name="globTitreSCL"><xsl:with-param name="code"><xsl:value-of select="CdSystemeCollecte"/></xsl:with-param></xsl:call-template><xsl:call-template name="globTabSCL"><xsl:with-param name="code"><xsl:value-of select="CdSystemeCollecte"/></xsl:with-param></xsl:call-template></xsl:if></xsl:for-each></xsl:template>

    <!-- ==================== -->
    <!-- = Globaux tab/Steu = -->
    <!-- ==================== --><xsl:template name="globTabSTEU"><xsl:param name="code"/><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="85mm"/><fo:table-column column-width="85mm"/><fo:table-column column-width="90mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Date de l'évènement</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Type d'évènement</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Description</fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/OuvrageDepollution/EvenOuvrageAssainissement"><xsl:if test="../CdOuvrageDepollution=$code"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateEvenOuvrageAssainissement"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="TypeEvenOuvrageAssainissement"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DsEvenOuvrageAssainissement"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:for-each></fo:table-body></fo:table><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="85mm"/><fo:table-column column-width="85mm"/><fo:table-column column-width="90mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Date de début de période</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Date de fin de période</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Commentaires</fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/OuvrageDepollution/CommentairesGlobaux"><xsl:if test="../CdOuvrageDepollution=$code"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateDebPeriode"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriode"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="Commentaires"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:for-each></fo:table-body></fo:table></xsl:template>

    <!-- ==================== -->
    <!-- = Globaux tab/SCL = -->
    <!-- ==================== --><xsl:template name="globTabSCL"><xsl:param name="code"/><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="85mm"/><fo:table-column column-width="85mm"/><fo:table-column column-width="90mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Date de l'évènement</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Type d'évènement</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Description</fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/SystemeCollecte/EvenOuvrageAssainissement"><xsl:if test="../CdSystemeCollecte=$code"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateEvenOuvrageAssainissement"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="TypeEvenOuvrageAssainissement"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DsEvenOuvrageAssainissement"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:for-each></fo:table-body></fo:table><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="85mm"/><fo:table-column column-width="85mm"/><fo:table-column column-width="90mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Date de début de période</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Date de fin de période</fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>Commentaires</fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/FctAssain/SystemeCollecte/CommentairesGlobaux"><xsl:if test="../CdSystemeCollecte=$code"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateDebPeriode"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="DateFinPeriode"/></fo:block></fo:table-cell><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block><xsl:value-of select="Commentaires"/></fo:block></fo:table-cell></fo:table-row></xsl:if></xsl:for-each></fo:table-body></fo:table></xsl:template>

<!-- ====================== -->
    <!-- = Globaux Titre/STEU = -->
    <!-- ====================== --><xsl:template name="globTitreSTEU"><xsl:param name="code"/><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre12" number-columns-spanned="2"><fo:block><fo:inline id="foncttitresteut3">OUVRAGE d'ASSAINISSEMENT COLLECTIF <xsl:value-of select="$code"/> (STEU)</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template>

    
    <!-- ====================== -->
    <!-- = Globaux Titre/SCL  = -->
    <!-- ====================== --><xsl:template name="globTitreSCL"><xsl:param name="code"/><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre12" number-columns-spanned="2"><fo:block><fo:inline id="foncttitrescl">OUVRAGE d'ASSAINISSEMENT COLLECTIF <xsl:value-of select="$code"/> (SCL)</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table></xsl:template>

    <!--**************************************************************************************************************-->
    <!-- ========================== -->
    <!-- = liste exx          = -->
    <!-- ========================== --><xsl:template name="x"><fo:table xsl:use-attribute-sets="bord"><fo:table-column column-width="60mm"/><fo:table-column column-width="200mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="Titre14" number-columns-spanned="2"><fo:block><fo:inline id="ListeExploit">LISTE DES EXPLOITATIONS AGRICOLES</fo:inline></fo:block></fo:table-cell></fo:table-row></fo:table-body></fo:table><xsl:if test="count(/BILAN_EPR/ExpAgri) &gt; 0"><fo:table xsl:use-attribute-sets="allBord"><fo:table-column column-width="26mm"/><fo:table-body><fo:table-row><fo:table-cell xsl:use-attribute-sets="cellH"><fo:block>XXXX</fo:block></fo:table-cell></fo:table-row><xsl:for-each select="/BILAN_EPR/ExpAgri"><fo:table-row><fo:table-cell xsl:use-attribute-sets="cell Value10"><fo:block>XXXXX</fo:block></fo:table-cell></fo:table-row></xsl:for-each></fo:table-body></fo:table></xsl:if></xsl:template></xsl:stylesheet><!-- Stylus Studio meta-information - (c) 2004-2009. Progress Software Corporation. All rights reserved.

<metaInformation>
    <scenarios>
        <scenario default="no" name="Scenario1" userelativepaths="yes" externalpreview="no" url="DESC_EPR_2.1.xml" htmlbaseurl="" outputurl="" processortype="saxon8" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml=""
                  commandline="" additionalpath="" additionalclasspath="" postprocessortype="fop" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
            <parameterValue name="refFile" value="'http://xml.sandre.eaufrance.fr/exist/sandre/Referentiels/ref_xmledi.xml'"/>
            <advancedProp name="sInitialMode" value=""/>
            <advancedProp name="bXsltOneIsOkay" value="true"/>
            <advancedProp name="bSchemaAware" value="true"/>
            <advancedProp name="bGenerateByteCode" value="true"/>
            <advancedProp name="bXml11" value="false"/>
            <advancedProp name="iValidation" value="0"/>
            <advancedProp name="bExtensions" value="true"/>
            <advancedProp name="iWhitespace" value="0"/>
            <advancedProp name="sInitialTemplate" value=""/>
            <advancedProp name="bTinyTree" value="true"/>
            <advancedProp name="xsltVersion" value="2.0"/>
            <advancedProp name="bWarnings" value="true"/>
            <advancedProp name="bUseDTD" value="false"/>
            <advancedProp name="iErrorHandling" value="fatal"/>
        </scenario>
        <scenario default="yes" name="Scenario2" userelativepaths="yes" externalpreview="no" url="test_sandre21_SCL.xml" htmlbaseurl="" outputurl="" processortype="saxon8" useresolver="yes" profilemode="0" profiledepth="" profilelength="" urlprofilexml=""
                  commandline="" additionalpath="" additionalclasspath="" postprocessortype="fop" postprocesscommandline="" postprocessadditionalpath="" postprocessgeneratedext="" validateoutput="no" validator="internal" customvalidator="">
            <advancedProp name="sInitialMode" value=""/>
            <advancedProp name="bSchemaAware" value="true"/>
            <advancedProp name="bXsltOneIsOkay" value="true"/>
            <advancedProp name="bXml11" value="false"/>
            <advancedProp name="bGenerateByteCode" value="true"/>
            <advancedProp name="iValidation" value="0"/>
            <advancedProp name="bExtensions" value="true"/>
            <advancedProp name="iWhitespace" value="0"/>
            <advancedProp name="sInitialTemplate" value=""/>
            <advancedProp name="bTinyTree" value="true"/>
            <advancedProp name="bUseDTD" value="false"/>
            <advancedProp name="bWarnings" value="true"/>
            <advancedProp name="xsltVersion" value="2.0"/>
            <advancedProp name="iErrorHandling" value="fatal"/>
        </scenario>
    </scenarios>
    <MapperMetaTag>
        <MapperInfo srcSchemaPathIsRelative="yes" srcSchemaInterpretAsXML="no" destSchemaPath="" destSchemaRoot="" destSchemaPathIsRelative="yes" destSchemaInterpretAsXML="no"/>
        <MapperBlockPosition></MapperBlockPosition>
        <TemplateContext></TemplateContext>
        <MapperFilter side="source"></MapperFilter>
    </MapperMetaTag>
</metaInformation>
-->