Placer un extrait d'arbre entre balise CDATA

Jean-Marie Hoornaert <[email protected]>
Newsgroups gmane.text.xml.french.tech
Message-ID <[email protected]>
Bonjour,

Je tente en vain la transformation suivante :


<article>
    <p class="chapo">blabla</p>
    <h5>blabla</h5>
    <p>blabla</p>
<article>

vers

<article>
    <![CDATA[
    <p class="chapo">blabla</p>
    <h5>blabla</h5>
    <p>blabla</p>
    ]]
<article>

Quand j'insère "<![CDATA[ ... ]]" dans la feuille xsl, c'est mon 
instruction xsl qui est recopiée. quand j'y insère "&lt;![CDATA[ ... 
]]", ce n'est pas mieux.

Comment faire ?

Merci.

Jean-Marie Hoornaert
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.