Re: interprétation du html dans un noeud xml

Tiscar Sebastien <[email protected]>
Newsgroups gmane.text.xml.french.tech
Message-ID <001401c6638e$464460b0$a7021cac@ODIN11>
on pourrait essayer
<xsl:value-of select="MESSAGE" disable-output-escaping="yes"/>

----- Original Message -----
From: "el houdaigui" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 18, 2006 4:26 PM
Subject: [xml-tech] interprétation du html dans un noeud xml


Bonjour,
J'ai ce noeud xml :


Code :
<MESSAGE><![CDATA[TEST avec balises <br/><a
href=\"http://www.google.com\">TEST</a>]]></MESSAGE>

et en xslt je parse de cette manière :


Code :
<xsl:copy-of select="MESSAGE/node()"/>

cependant dans le html résultat (clic droit-> code source dans le
navigateur) j'ai ceci :


Code :
TEST avec balises &lt;br/&gt;&lt;a
href="http://www.google.com"&gt;TEST&lt;/a&gt;

au lieu de :


Code :
TEST avec balises <br/><a href="http://www.google.com">TEST</a>

Comment faire pour bien interpréter le HTML svp?

Merci



--
Devenez redacteur <XML>fr et contribuez au developpement du
xml francophone (http://xmlfr.org/infos/redacteurs/) !

Liste de diffusion "[email protected]" (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 [email protected]
(mailto:[email protected]?Subject=unsubscribe)
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.