@gnome.org
Subject: Re: [xml] Using xmlNewTextWriterTree with indentation
That is funny. We often get XML in with no CR or LF or EOF which when they are
large are not really possible to read. We have a tiny program that simply
loads the doc and re-writes it with:
xmlDocFormatDump()
We then get
)
Sent: March 21, 2017 16:30
To: xml@gnome.org
Subject: [xml] Using xmlNewTextWriterTree with indentation
I am trying to use xmlNewTextWriterTree to add some elements
to a doc tree. I would like the new elements to be indented according
to their depth in the tree. But it seems the indentation level is
I am trying to use xmlNewTextWriterTree to add some elements
to a doc tree. I would like the new elements to be indented according
to their depth in the tree. But it seems the indentation level is starting
from 0.
Is there a different way for me to go about this?
I have:
I am using xmlN