[xml] about indentation

hi all,
i use xmlSaveFileEnc() to save tree modification.

when i update a node, it's perfect

when i add a node to a document (done with xmlAddChild), the resulting document isn't well indented.
my code is the same as tree2.c .
i got this format:

or i would like to have

thank you for any help,
best regards


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