From: Maillet Laurent (Laurent.Maillet@swisslife.be)
Date: 16/08/2001 - 14:23
Si j'utilise <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">,
<xsl:output.../> n'est plus reconnu, et si j'enlève <xsl:ouput.../>, plus
rien ne se passe.
????
Laurent
-----Original Message-----
From: Jean-Michel Coret [mailto:jean-michel.coret@dbx.fr]
Sent: Thursday, August 16, 2001 4:05 PM
To: xml-tech@xmlfr.org
Subject: [xml-tech] RE: [xml-tech] Problème d'accents
Personnellement, j'ai en en-tête :
<?xml version='1.0' encoding='iso-8859-1' ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
et je n'ai pas de pb à l'affichage...
Bonne chance!
Jean-Michel
-----Message d'origine-----
De : Maillet Laurent [mailto:Laurent.Maillet@swisslife.be]
Envoyé : jeudi 16 août 2001 16:01
À : 'xml-tech@xmlfr.org'
Objet : [xml-tech] Problème d'accents
Salut
J'ai le document XML suivant:
<?xml version="1.0" encoding="ISO-8859-1"?>
<document>
<un>bonjour</un>
<deux>hélène</deux>
</document>
Si je le traite avec:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" version="1.0" encoding="ISO-8859-1"/>
<xsl:template match="document">
<xsl:value-of select="un"/>
<xsl:value-of select="deux"/>
</xsl:template>
</xsl:stylesheet>
J'obtiens :
<?xml version="1.0" encoding="ISO-8859-1"?>bonjourhélène
Si je change les options dans stylesheet:
<xsl:output method="xml" version="1.0" encoding="ISO-8859-1"
omit-xml-declaration="yes"/>
J'obtiens:
bonjourhélène
Comment faire pour obtenir tout simplement bonjourHélène, sans les
déclarations XML et avec une bonne gestion des accents?
Parce que je n'y arrive pas.
Merci
Laurent
___________________________________________________________________
Laurent Maillet - Project Engineer - DPEurope - Bruxelles
Mail: lmaillet141@dpeurope.be - laurent.maillet@swisslife.be
--------------------------------------------------------------------
Disclaimer
This email is confidential and intended solely for
the use of the individual to whom it is addressed.
If you are not the intended recipient, be advised
that you have received this email in error and that
any use, dissemination, forwarding, printing or
copying of this email is strictly prohibited.
Swiss Life (Belgium)
Rue de la Loi - Wetstraat 82
B-1040 Brussels - Belgium
Tel + 32 2 238 88 11
Fax + 32 2 230 67 26
http://www.swisslife.be/
--------------------------------------------------------------------
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=subscribe)
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
--------------------------------------------------------------------
This Email has been automatically checked.
Its delivery has been manually allowed
Contact your Internet administrators for details.
--------------------------------------------------------------------
--------------------------------------------------------------------
Disclaimer
This email is confidential and intended solely for
the use of the individual to whom it is addressed.
If you are not the intended recipient, be advised
that you have received this email in error and that
any use, dissemination, forwarding, printing or
copying of this email is strictly prohibited.
Swiss Life (Belgium)
Rue de la Loi - Wetstraat 82
B-1040 Brussels - Belgium
Tel + 32 2 238 88 11
Fax + 32 2 230 67 26
http://www.swisslife.be/
--------------------------------------------------------------------
--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !
Liste de diffusion "xml-tech@xmlfr.org" (http://xmlfr.org).
Cette liste est a votre disposition pour discuter en francais de
tout sujet technique lie a XML.
Pour resilier votre abonnement, envoyez un message contenant
la commande "unsubscribe" a xml-tech-request@xmlfr.org
(mailto:xml-tech-request@xmlfr.org?Subject=unsubscribe)
Archive générée par hypermail 2.1.3 le 28/06/2004 - 11:06 UTC
webmaster@xmlfr.org
|