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



_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to