You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Mannion, Enda" <en...@hp.com> on 2006/06/19 18:32:47 UTC
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: enda.mannion@hp.com <BL...@hp.com>
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".
RE: white lines
Posted by "Mannion, Enda" <en...@hp.com>.
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: c-dev@xerces.apache.org
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: enda.mannion@hp.com <BL...@hp.com>
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".