Alternatively does anyone know how I can suppress\remove blank lines left over when I delete a node?

 

 

Thanks,

Enda

 


From: Mannion, Enda
Sent: 19 June 2006 17:33
To: [email protected]
Subject: white lines

 

When I use the DOMWriter an XML file is created with blank lines. Is it possible to write the XML file without these white lines?

 

Here is the example of what is happening.

 

<contacts>

 

 

<Person>

                        <Name />

                        <Age />

            </Person>

 

 

</contacts>

 

 

I want it like this

 

<contacts>

<Person>

                        <Name />

                        <Age />

            </Person>

</contacts>

 

 

Optionally if there is an option to the DOMParser to not read these blank lines that would also solve my problem.

 

 

Thanks,

Enda

________________________

Enda Mannion

HPCS-RSPS

Hewlett-Packard

tel: +35391754604

mailto: [EMAIL PROTECTED]

The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error you should delete it from your system immediately and advise the sender.To any recipient of this message within HP, unless otherwise stated , you should consider this message and attachments as " HP CONFIDENTIAL".

 

  • white lines Mannion, Enda
    • RE: white lines Mannion, Enda

Reply via email to