Hi,
I am currently running experiments with saxes and attranslate: https://github.com/fkirc/attranslate
attranslate is a new tool for semi-automated app- und website translations.
A goal of attranslate is to modify existing XML-files with as little changes as possible.
Therefore, one thing that I am curious about is the preservation of XML-comments and whitespace (linebreaks).
It would be nice to have a tree-structure that preserves literally all information when reading an XML-file and then writing the (almost) same XML-file again.
Perhaps you could point me in a direction on how to best achieve whitespace- and comments-preservation?