Hi all !

My goal is to put into a XML file that i produce from scratch a
CDATASection with a portion of XML into like this :

<foo>
     <firstRealTag> blabla </firstRealTag>
     <secondRealTag> blabla too </secondRealTag>
     <setOfUnrealTags>
          <![CDATA[
               <firstUnrealTag> blibli </firstUnrealTag>
               <secondUnrealTag> blibli too </secondUnrealTag>
          ]>
     </setOfUnrealTags>
</foo>

I tought I can create my two "UnrealTags" in a DOM Tree and serialize them
with a Serializer to create a CDATASection with.
But I can't manage to avoid the first line of the serializer :  <?xml
version="1.0" encoding="UTF8"?>

Does anyone know how to avoid this ?

Cordialement,

-----------------------------------------
St�phane RAULT
R2I-D�veloppement
8, rue du blanc
14000 Caen
e-mail : [EMAIL PROTECTED]
Tel      : 02-31-29-32-40

Reply via email to