@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
Never mind, fixed my own problem.
I was using xmlTextWriterSetIndent() to enable identing
and xmlSaveFileEnc() to write the doc to a file.
Switching to xmlDocFormatDump() for writing gives me
the result I need.
MV
From: xml [mailto:xml-boun...@gnome.org] On Behalf Of Vuille, Martin (Martin)
Sen