Re: [xml] about indentation
- From: nico <sl1200mk2 free fr>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] about indentation
- Date: Sat, 04 Mar 2006 14:57:32 +0100
"My white space is…/mine/" is exaclty what i need.
didn't work with my code.
however, i've succeeded with xmlDocCopyNodeList() to keep my indentation.
thanks for your help,
On Sat, Mar 04, 2006 at 04:44:30AM -0500, Daniel Veillard wrote:
On Fri, Mar 03, 2006 at 08:28:04PM +0100, nico wrote:
it works but indentation is not correct
indentation means *nothing* in XML. That does not exist.
Add text nodes with whatever content you need to get the final
document look like you expect. Libxml2 will not guess what you
mean with "indentation is not correct".
libxml2 behaviour is precisely to avoid this kind of problems
That Norm is rightfully complaining about:
] [Thread Prev