Format date EXSLT

"IGP04Bozghiba Imed" <[email protected]>
Newsgroups gmane.text.xml.french.tech
Message-ID <[email protected]>
Bonjour monsieur
Je tiens de vous remercier, mais j'ai fait comment vous m'avez dit ça marche mais il affiche toujours les dates en saxon par en format JJ mm yyyy. Est-ce que vous pouvez m'aider s'il vous plaît
Je vous souhaite une très bonne journée

Voici le fichier .xslt


<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
              xmlns:xsl="http://www.w3.org/1999/XSL/Transform <http://www.w3.org/1999/XSL/Transform> "
              xmlns:date="http://exslt.org/dates-and-times <http://exslt.org/dates-and-times> "
              extension-element-prefixes="date">
        <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
               

<xsl:template match="carnet">

        <xsl:apply-templates select="personne"> 
                <xsl:sort order="descending" select="date"/>
        </xsl:apply-templates>
</xsl:template>
       
        <xsl:template match="personne">
                <xsl:copy-of select="."/>
        </xsl:template>
       
        <xsl:template name="personne">
  <xsl:param name="date"/>
  <xsl:call-template name="date:format-date">
    <xsl:with-param name="date-time" select="$date" />
    <xsl:with-param name="pattern" select="'dd MMMM yyyy'" />
  </xsl:call-template>
</xsl:template>

</xsl:stylesheet>


C'est mon fichier .xsd


<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2005 rel. 3 U (http://www.altova.com <http://www.altova.com> ) by CPLN (ESNIG) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema <http://www.w3.org/2001/XMLSchema> " elementFormDefault="qualified" attributeFormDefault="unqualified">
        <xs:element name="carnet">
                <xs:annotation>
                        <xs:documentation>Comment describing your root element</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                        <xs:sequence>
                                <xs:element name="personne" type="personneType" maxOccurs="unbounded"/>
                        </xs:sequence>
                </xs:complexType>
        </xs:element>
        <xs:complexType name="personneType">
                <xs:sequence>
                        <xs:element name="nom" type="xs:string"/>
                        <xs:element name="Prenom" type="xs:string"/>
                        <xs:element name="adresse" type="xs:string"/>
                        <xs:element name="npa" type="xs:string"/>
                        <xs:element name="domicile" type="xs:string"/>
                        <xs:element name="date" type="xs:date"/>
                </xs:sequence>
        </xs:complexType>
</xs:schema>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.