Results 1 to 3 of 3

Thread: indentation

  1. #1
    Junior Member
    Join Date
    Feb 2005


    Did my files get corrupted? Is it just me? Why does all the source/sample code use a single space for indentation?

    It makes the code difficult to read. I don't mean to be nitpicky about style, but this is so close to NO indentation as to be a hanging offense.

    If it is the case that you guys like it over there, then please set your tabstop to 1 character and let us have our indentation back. If it's a pain to change this, I can rip some regex through it and send you cleaned up versions.


  2. #2
    Senior Member
    Join Date
    Aug 2004
    I'm sorry you don't like the identation on the sample code. At this time we have no plans to change it as we prepare to release the COLLADA API instead. I expect that the COLLADA API coding style will be more appealing.

  3. #3
    Junior Member
    Join Date
    Jan 2005
    Emeryville, CA

    Tidy XML Indenting With Tabs...

    Hello heina,

    Before you write a regex, you might want to try my Perl module at:


    which comes with a wrapper utility (called `xmltidy`) that can convert indenting to tabs for you.

    I've run that utility on several COLLADA XML files (on both Debian GNU/Linux && Windows XP) without a problem. I hope you find it helpful.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean