<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:Methode[(./xx:StIntervenant='Validé') and (preceding::xx:Methode[./xx:StIntervenant='Validé']/xx:CdMethode = xx:CdMethode)]" priority="3996" mode="M1">--><axsl:key name="Methodes" match="xx:Methode" use="xx:CdMethode"/><axsl:template match="/xx:REFERENTIELS/xx:Referentiel/xx:Methode[ not(generate-id() = generate-id(key('Methodes', xx:CdMethode)[1]))]" priority="3996" mode="M1"><axsl:text>CdMethode '</axsl:text><axsl:value-of select="./xx:CdMethode/text()"/> (<axsl:value-of select="./xx:StMethode/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>