bonjour

j'au un fichier XML que j'essaie de parser,
le fichier est généré par Magic Draw et correspond un une spécification d'architecture d'entreprise dont voici la partie qui pose problème (le fichier est volumineux)

<EV_Profile:EV_Objective xmi:id='_12_0_8d00229_1175673345578_207519_1076' base_Class='_12_0_8d00229_1175673345140_448581_919' description='&lt;html&gt;
&lt;head&gt;
&lt;font size=&quot;3&quot;&gt;
&lt;/font&gt; &lt;/head&gt;
&lt;body&gt;
&lt;p&gt;
&lt;font size=&quot;3&quot;&gt;To allow the use, by authorised borrowers, of the varying
collection of Library items, as fairly and efficiently as possible.&lt;/font&gt;
&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
'/>


le problème se situe plus exactement dans le contenue de l'attribut 'description'

j'ai écrit cette fonction dont voici le code (fonction de Parsing XML.txt)
cette fonction récursive me permet de parser le fichier xml et de le tronsformer en chaine de caractère xml (StringXML)

quand j'essaie de parser le bout de document xml ci-dessus, j'obtiens pas exactement la même chose :


<EV_Profile:EV_Objective
xmi:id="_12_0_8d00229_1175673345578_207519_1076"
base_Class="_12_0_8d00229_1175673345140_448581_919"
description="<html>
<head>
<font size="3">
</font> </head>
<body>
<p>
<font size="3">To allow the use, by authorised borrowers, of the varying
collection of Library items, as fairly and efficiently as possible.</font>
</p>
</body>
</html>
" ></EV_Profile:EV_Objective>

donc le problème est au niveau de la méthode attribute.getValue()
qui une fois appliquée sur l'attribut description me retourne non pas


'&lt;html&gt;
&lt;head&gt;
&lt;font size=&quot;3&quot;&gt;
&lt;/font&gt; &lt;/head&gt;
&lt;body&gt;
&lt;p&gt;
&lt;font size=&quot;3&quot;&gt;To allow the use, by authorised borrowers, of the varying
collection of Library items, as fairly and efficiently as possible.&lt;/font&gt;
&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;
'

mais

<html>
<head>
<font size="3">
</font> </head>
<body>
<p>
<font size="3">To allow the use, by authorised borrowers, of the varying
collection of Library items, as fairly and efficiently as possible.</font>
</p>
</body>
</html>


si vous avez une idée que peux m'aider, elle est la bienvenue

et merci d'avance