How to remove extra lines in a XML file using perl



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

.



Relevant Pages

  • Linking XML File to a Datagrid
    ... We are using a DataSet intialized with an XML File, ... The debugger shows this error: ... Best Regards, ... Prev by Date: ...
    (microsoft.public.dotnet.framework.aspnet.datagridcontrol)
  • RE: Loading XML into MS Access
    ... with regards, ... "Asad M. via .NET 247" wrote: ... > Can you tell me how to develop a method for loading a complex XML file into Microsoft Access? ... Prev by Date: ...
    (microsoft.public.dotnet.framework.adonet)
  • How to use xml file as data source for Mail merge?
    ... I want to use xml file as a datasource of mail merge.. ... Best regards ... Prev by Date: ...
    (microsoft.public.word.mailmerge.fields)
  • xml vs. sql server 2000
    ... i have a big xml file with no relationships and i wonder if it will be faster ... to retrieve data if i will import the data to sql server 2000 table ... Regards, ... Prev by Date: ...
    (microsoft.public.sqlserver.xml)
  • Re: How to use content of file for xml input?
    ... I used the bulk load mechanism. ... With these mechasim i'm able to read the file into our SQL Server. ... So thanks for your interest in my problem and best regards, ... how a external xml file can be prepared to use ...
    (microsoft.public.sqlserver.xml)