I wrote an application, that load, modify and save a XML document using TinyXML.
Now I notice, that all tabs are converted to (4?) blanks (under linux as well as under windows). I've looked for days ;-) in the TinyXML Documentation but found nothing about this behavior. Is there any method to preserve the tabs and to prevent converting them into blanks?
Thanks in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
I wrote an application, that load, modify and save a XML document using TinyXML.
Now I notice, that all tabs are converted to (4?) blanks (under linux as well as under windows). I've looked for days ;-) in the TinyXML Documentation but found nothing about this behavior. Is there any method to preserve the tabs and to prevent converting them into blanks?
Thanks in advance!
In the 2.5.1 release, the TiXmlPrinter lets you set your indent character to anything, including a tab.
lee
works like a charm :-)
Thank you very much!
Christoph