How to Remove beginning xml to ending xml tags?
Posted: Mon Aug 17, 2009 5:06 pm
Hi I have this XML and would like to remove one element. Can anyone please help me.
Example. I want to remove tag2.
<tag1>abcde</tag1>
<tag2>fghij</tag2>
<tag3>klmno</tag3>
so my output should be like this.
<tag1>abcde</tag1>
<tag3>klmno</tag3>
Thanks in advance!
Example. I want to remove tag2.
<tag1>abcde</tag1>
<tag2>fghij</tag2>
<tag3>klmno</tag3>
so my output should be like this.
<tag1>abcde</tag1>
<tag3>klmno</tag3>
Thanks in advance!