Re: [xml] about indentation
- From: nico <sl1200mk2 free fr>
- To: veillard redhat com
- Cc: xml gnome org
- Subject: Re: [xml] about indentation
- Date: Fri, 03 Mar 2006 20:28:04 +0100
hi,
thanks for your reply,
i should have a bad english....
i want to add a nodelist at the end of the rootdocument
it works but indentation is not correct
shoul i create a buffer, fill the buffer and dump it to a file?
many thanks
libxml2 will not add other text nodes children if a node already has
text child. That's imposed to avoid breaking content when nodes have
a mixed-content model.
The only ultimate way to garantee indenting while not detroying data
is for you to add the text nodes when you think it makes sense.
Daniel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]