Menu

preserve tabs?

2006-08-26
2013-05-20
  • Christoph Schweers

    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!

     
    • Lee Thomason

      Lee Thomason - 2006-08-29

      In the 2.5.1 release, the TiXmlPrinter lets you set your indent character to anything, including a tab.

      lee

       
      • Christoph Schweers

        works like a charm :-)

        Thank you very much!
        Christoph

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.