Removal of a tag in the xml which occurs mutiple times

Hi,

The tag can occur multiple times.

I want to remove entire <SeqNum>..</SeqNum> from each line, regardless the values with in this tag. for each line value inside these tags could be different. So please suggest how to do this.

Note: Each profile information is in one line.

Output i am getting is as below:
----------

<Body><Profile><Id>123</Id><ContactMethods><Contacts><SeqNum>1</SeqNum><Phone>12345</Phone></Contacts><Contacts><SeqNum>4</SeqNum><Phone>89045</Phone></Contacts></ContactMethods><Address><SeqNum>8</SeqNum><addr>xyz</addr></Address></profile></Body> 
<Body><Profile><Id>ABNV123</Id><ContactMethods><Contacts><SeqNum>3</SeqNum><Phone>345789</Phone></Contacts><Contacts><SeqNum>5</SeqNum><Phone>45689045</Phone></Contacts></ContactMethods><Address><SeqNum>6</SeqNum><addr>ABCF</addr></Address></profile></Body> 

Expected Output is:
--------------------

<Body><Profile><Id>123</Id><ContactMethods><Contacts><Phone>12345</Phone></Contacts><Contacts><Phone>89045</Phone></Contacts></ContactMethods><Address><addr>xyz</addr></Address></profile></Body> 
<Body><Profile><Id>ABNV123</Id><ContactMethods><Contacts><Phone>345789</Phone></Contacts><Contacts><Phone>45689045</Phone></Contacts></ContactMethods><Address><addr>ABCF</addr></Address></profile></Body>

Thanks,

sed 's:<SeqNum>[^<]*</SeqNum>::g' infile

Perl

perl -pe 's#<SeqNum>(.+?)</SeqNum>##g' inputfile