Following is the structure of my XML File -
<Doc>
<P n="1"/>
<P>blah blah blah. <B>Pg-1</B></P>
<P n="2"/>
<P>blah blah blah. <B>Pg-2</B></P>
</Doc>
I have to change it to -
<Doc>
<P n="1">blah blah blah. <B>Pg-1</B></P>
<P n="2">blah blah blah. <B>Pg-2</B></P>
</Doc>
How to do this ?