<axsl:stylesheet xmlns:xx="http://xml.sandre.eaufrance.fr/scenario/referentiel/2" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns:axsl="http://www.w3.org/1999/XSL/Transform" version="1.0"><axsl:output method="text" omit-xml-declaration="no" standalone="yes" indent="yes"/><axsl:template match="*|@*" mode="schematron-get-full-path"><axsl:apply-templates select="parent::*" mode="schematron-get-full-path"/><axsl:text>/</axsl:text><axsl:if test="count(. | ../@*) = count(../@*)">@</axsl:if><axsl:value-of select="name()"/><axsl:text>[</axsl:text><axsl:value-of select="1+count(preceding-sibling::*[name()=name(current())])"/><axsl:text>]</axsl:text></axsl:template><axsl:template match="/"><axsl:apply-templates select="/" mode="M1"/></axsl:template>
    
    <!--VERIFICATION DES CODES DOUBLONS INTERVENANT-->
    <!--<axsl:template match="/xx:REFERENTIELS/xx:Referentiel/xx:FractionAnalysee[(./xx:StIntervenant='Validé') and (preceding::xx:FractionAnalysee[./xx:StIntervenant='Validé']/xx:CdFractionAnalysee = xx:CdFractionAnalysee)]" priority="3996" mode="M1">--><axsl:key name="FractionAnalysees" match="xx:FractionAnalysee" use="xx:CdFractionAnalysee"/><axsl:template match="/xx:REFERENTIELS/xx:Referentiel/xx:FractionAnalysee[ not(generate-id() = generate-id(key('FractionAnalysees', xx:CdFractionAnalysee)[1]))]" priority="3996" mode="M1"><axsl:text>CdFractionAnalysee '</axsl:text><axsl:value-of select="./xx:CdFractionAnalysee/text()"/> (<axsl:value-of select="./xx:StFractionAnalysee/text()"/>)<axsl:text>' est un doublon.
        </axsl:text></axsl:template><axsl:template match="text()" priority="-1" mode="M1"/><axsl:template match="text()" priority="-1"/></axsl:stylesheet>