Re: [xml] about indentation

hi daniel,
"My white space is…/mine/" is exaclty what i need.
that's why


didn't work with my code.

however, i've succeeded with xmlDocCopyNodeList() to keep my indentation.

thanks for your help,
best regards

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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]