I already asked a question related to this, but I did not think I would face another problem. Here is my sample XML file :
<section>
Hello everyone, I'm
<bold>Hackmania</bold>
<bold>15</bold>
<line/>
I am looking for an
<highlight>answer</highlight>
<paragraph/>
Here is an other
<bold>paragraph</bold>
<highlight>with the same tags</highlight>
<paragraph/>
</section>
How could I put my isolated texts into a specific tag, let's say <myText></myText>? like this :
<section>
<p>
<myText>Hello everyone, I'm</myText>
<bold>Hackmania</bold>
<bold>15</bold>
<line/>
<myText>I am looking for an</myText>
<highlight>answer</highlight>
</p>
<p>
<myText>HHere is an other</myText>
<bold>paragraph</bold>
<highlight>with the same tags</highlight>
</p>
</section>
Thanks in advance for your help.