How to remove extra lines in a XML file using perl
- From: pambouy2@xxxxxxxxxxx
- Date: 20 Nov 2005 15:22:53 -0800
Hi,
I'm trying to find a way to remove extra line in a XML file as
described below:
Change the file below:
<people>
<name>John Doe</name>
<phone>21212121215</phone>
<address> 75 Rue de Marshall
Boulevard Attarde
453 France</address>
</people>
<people>
<name>Jeanne Doe</name>
<phone>21212121215</phone>
<address> 55675 Astor Place
Boulevard Testritou
96000 France</address>
</people>
into the file below:
<people>
<name>John Doe</name>
<phone>21212121215</phone>
<address> 75 Rue de Marshall Boulevard Attarde 453
France</address>
</people>
<people>
<name>Jeanne Doe</name>
<phone>21212121215</phone>
<address> 55675 Astor Place Boulevard Testritou 96000
France</address>
</people>
Thanks for helping me, it's pretty urgent!
Regards,
Yanis
.
- Follow-Ups:
- Re: How to remove extra lines in a XML file using perl
- From: A. Sinan Unur
- Re: How to remove extra lines in a XML file using perl
- From: pambouy2
- Re: How to remove extra lines in a XML file using perl
- Prev by Date: FAQ 3.7 How do I cross-reference my Perl programs?
- Next by Date: Re: sprintf formating
- Previous by thread: FAQ 3.7 How do I cross-reference my Perl programs?
- Next by thread: Re: How to remove extra lines in a XML file using perl
- Index(es):
Relevant Pages
|